Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/zkShuffle/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<div align="center">
<img alt="State diagram" src={require("/static/img/zkshuffle-state-diagram.png").default} width="90%" />
</div>

<p align="center"><em>Fig: State diagram</em></p>

## Main Components

Expand Down
3 changes: 3 additions & 0 deletions static/img/zkshuffle-state-diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.