iScsc / Haunted-Chronicles

A small project to discover online multiplayer games.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PotatOnline

A small project to discover online multiplayer games.

Development Plan :

  • One shall be project manager
  • Split development in two : client and server
  • Setup Docker to host online games

Main issues :

  • Write our own protocol (App layer) ? Or simply use pinkle (object serialization) which can be easily used to hack computers ?
  • More ?

Milestones :

  • 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.

GAME :

Python Module Dependencies

  • pygame
  • shapely

Launch

Server Launch

python3 ServerCube.py or make server

Client

python3 client.py <IP_Server> <Port> or make client SERVER=<IP_Server> PORT=<Port>

Formatted messages :

Client connexion :

  • sends CONNECT <Username> END and receives CONNECTED <Username> <Screen_Size> STATE <Players_List> END as a connection confirmation and to setup the state of the game locally.

Client inputs :

  • sends INPUT <Username> <Input> END and receives STATE <Players_List> END to update the state of the game on the server, and then locally. <Input> can be L, R, U, D for movements, and . for none.

Client disconnexion :

  • sends DISCONNECT <Username> END and receives DISCONNECTED <Username> END as a confirmation before quitting the game.

About

A small project to discover online multiplayer games.


Languages

Language:Python 99.8%Language:Makefile 0.2%