Skip to content

Commit 29e7593

Browse files
authored
fix: state diagram (#293)
- Add state diagram .png file - Modify reference to display diagram correctly
1 parent 246ca03 commit 29e7593

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/zkShuffle/Overview.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ zkShuffle is an efficient mental poker emphasizing the reduction of gas costs on
77
## State Diagram
88

99
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.
10-
![](https://hackmd.io/_uploads/By8S6Xg92.png)
10+
11+
<div align="center">
12+
<img alt="State diagram" src={require("/static/img/zkshuffle-state-diagram.png").default} width="90%" />
13+
</div>
14+
15+
<p align="center"><em>Fig: State diagram</em></p>
1116

1217
## Main Components
1318

+3
Loading

0 commit comments

Comments
 (0)