diff --git a/docs/zkShuffle/Overview.md b/docs/zkShuffle/Overview.md index 82cb03f8..4ad7e34e 100644 --- a/docs/zkShuffle/Overview.md +++ b/docs/zkShuffle/Overview.md @@ -7,7 +7,12 @@ zkShuffle is an efficient mental poker emphasizing the reduction of gas costs on ## State Diagram The following state diagram provides an overview of the game process managed by the ShuffleManager contract. To initiate a new game, it must first be created. Upon creation, the manager contract assigns a unique ID to this game and players can join the game with that ID. Once the final player has registered, the game starts. Players can check the current turn within the game. If it's their turn to perform an action (shuffle, deal or open), they carry out the action accordingly. -![](https://hackmd.io/_uploads/By8S6Xg92.png) + +
+ State diagram +
+ +

Fig: State diagram

## Main Components diff --git a/static/img/zkshuffle-state-diagram.png b/static/img/zkshuffle-state-diagram.png new file mode 100644 index 00000000..5f419dbc --- /dev/null +++ b/static/img/zkshuffle-state-diagram.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ef60a8684cd40672d3deaddcec1222a043da189d73163e2d080fe17a99b3e61 +size 49862