Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tchoupinax/jeu-petits-chevaux
Wild implementation of the game
https://github.com/tchoupinax/jeu-petits-chevaux
Last synced: 20 days ago
JSON representation
Wild implementation of the game
- Host: GitHub
- URL: https://github.com/tchoupinax/jeu-petits-chevaux
- Owner: Tchoupinax
- Created: 2024-08-06T07:19:30.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-08-06T07:23:52.000Z (6 months ago)
- Last Synced: 2024-08-06T09:22:30.179Z (6 months ago)
- Language: TypeScript
- Size: 1.38 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jeu-petits-chevaux
## Turn decision
```mermaid
graph TB
AA{"Turn started"}
A("Dice launched")B("Do I own outside pawn? (6 version)")
C("Do I own outside pawn? (1-5 version)")D("Does my root case is blocked by my pawn?")
E("Put a pawn outside")
J("Do I own a movable pawn")
I("Do I own a movable pawn")K["Does my root case is blocked by my pawn?"]
X["Move a pawn or put a pawn outside"]
Y["Move a pawn"]F{"Launch dice again and play another turn"}
Z{"Turn End"}AA==> A
A==> |I made a 6| B
A--> |I made between 1 and 5| CB--> |No| D
B==> |Yes| ID==> |Yes| F
D--> |No| EE--> F
I==> |Yes| K
K==> |Yes| YK--> |No| X
X--> F
C--> |No| Z
C==> |Yes| J
J==> |Yes| Y
J--> |No| Z
Y--> Z
```## Board coordinates
![Board](.github_archives/assets/board.png "Board")
## TODO
- Il faut que quand je move un pion, l'ancien soit retiré de l'interface
- Une fois que c'est fait et qu'on peut jouer, il faut que les coups soit autorisé
(mettre du text sur l'ui sur ce qui est possible de faire dans un premier temps)