Game Server | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Game Server

Hi i have a home server. ( ubunto server ) i installed ssh service. with my phone (Termux app) i connected to the ubunto server and tested it. Server ip: 192.168.42.133 I want to find and figure out how game server comminucate with client. how send data such as xp and position(x,y) and damage to all client. Should i have web server? How client send data to server and recieve data ? What is the file format to send ? ( json or ... ) send data with http protocol or other protocol ? shoud i create an Api for server ? how i handle requests ? What tools and concept i need ? I want the base concept for researching. please tell me your suggestion

20th Feb 2021, 11:23 PM
ali
ali - avatar
1 Answer
0
i typically have just used a basic network socket for this kind of thing, and invented my own protocol.
21st Feb 2021, 6:30 PM
Wilbur Jaywright
Wilbur Jaywright - avatar