A small project to discover online multiplayer games.
- One shall be project manager
- Split development in two : client and server
- Setup Docker to host online games
- Write our own protocol (App layer) ? Or simply use pinkle (object serialization) which can be easily used to hack computers ?
- More ?
- LAN 'mail' service using python ? (one way first and then both) DONE !
- Based on this service, use it to make an object move on the other computer's screen. DONE !
- Make a game playable in LAN. WIP !
- Make it playable online through the iscsc server.
- pygame
- shapely
python3 ServerCube.py
or make server
python3 client.py <IP_Server> <Port>
or make client SERVER=<IP_Server> PORT=<Port>
- sends
CONNECT <Username> END
and receivesCONNECTED <Username> <Screen_Size> STATE <Players_List> END
as a connection confirmation and to setup the state of the game locally.
- sends
INPUT <Username> <Input> END
and receivesSTATE <Players_List> END
to update the state of the game on the server, and then locally.<Input>
can beL
,R
,U
,D
for movements, and.
for none.
- sends
DISCONNECT <Username> END
and receivesDISCONNECTED <Username> END
as a confirmation before quitting the game.