game_server/README.md

34 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2023-11-02 14:58:21 +01:00
# Game Server
This is the platform from which one can host any "game" that they have defined. It's a sandbox for simplistic multiplayer games(like chess, tic tac toe, othello, etc.).
## Ideas
* Simple websockets connection between server and "players"(clients)
* Clients need to
* Authenticate (at a later point)
* Describe the protocol of the game that they're going to play to the server, which then gets compared and informs the players if there's a mismatch
* Simple web interface(list) of all current games
* Developed protocols, which clients can use.
## TODOs
2023-11-03 17:06:39 +01:00
* Web server
* [ ] Figure out some sort of identification that is not external IP(cuz that's dumb)
* [ ] Hand it out
* [ ] Start accepting requests to the websocket server ONLY to the users who have joined the game
* Websocket server
* [ ] Ping players while waiting for people
* Game creation
* [ ] Rules exchange -> Have to think about that one lol
* [ ] Game start
2023-11-02 14:58:21 +01:00
## Flowcharts
### Creation
![Game creation](media/game_creation.png)
### Preparation
![Game preparation](media/game_prep.png)
2023-11-02 17:08:51 +01:00
### In progress
![Game in progress](media/game_server.png)