wip board
This commit is contained in:
parent
ec16e5f3df
commit
23ab966602
3 changed files with 227 additions and 131 deletions
|
|
@ -30,9 +30,10 @@ cf. https://blessed.rs/crates
|
|||
## Backgammon existing projects
|
||||
|
||||
* go : https://bgammon.org/blog/20240101-hello-world/
|
||||
- protocole de communication : https://code.rocket9labs.com/tslocum/bgammon/src/branch/main/PROTOCOL.md
|
||||
|
||||
* lib rust backgammon
|
||||
- https://docs.rs/crate/backgammon/0.4.0
|
||||
- https://github.com/carlostrub/backgammon
|
||||
- https://github.com/marktani/backgammon
|
||||
* network webtarot
|
||||
* front ?
|
||||
|
|
|
|||
|
|
@ -9,3 +9,13 @@ cargo add pico-args
|
|||
Organisation store / server / client selon https://herluf-ba.github.io/making-a-turn-based-multiplayer-game-in-rust-01-whats-a-turn-based-game-anyway
|
||||
|
||||
_store_ est la bibliothèque contenant le _reducer_ qui transforme l'état du jeu en fonction les évènements. Elle est utilisée par le _server_ et le _client_. Seuls les évènements sont transmis entre clients et serveur.
|
||||
|
||||
## Organisation du store
|
||||
|
||||
lib
|
||||
- game::GameState
|
||||
- error
|
||||
- dice
|
||||
- board
|
||||
- user
|
||||
- user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue