Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek-01k authored Aug 13, 2024
1 parent fe93bb1 commit 5132821
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ The zkShuffle Card Game is a decentralized, multiplayer card game built on block

## Smart Contract Overview

![Screenshot 2024-08-13 221326](https://github.com/user-attachments/assets/608156b7-fdcd-4326-86a3-269e432a27bc)

### `ShuffleGameInfo`
A struct that holds immutable information about each game:
- `numCards`: The total number of cards in the game.
Expand Down Expand Up @@ -67,6 +69,8 @@ Allows a player to join an existing lobby. If the lobby is full, the player will

6. **Statistics and Streaming**: Player statistics are updated after each game, and live streaming options allow others to watch ongoing games.

![Screenshot 2024-08-13 221520](https://github.com/user-attachments/assets/5a4fa26b-6c0e-4ac6-8afa-9ec269359a53)

## Privacy with zkShuffle by Manta Network

The core privacy feature of the game is powered by zkShuffle, an SDK developed by Manta Network. zkShuffle uses zero-knowledge proofs (zk-SNARKs) to shuffle and encrypt the deck of cards in such a way that no player, including the one initiating the shuffle, can determine the order of cards.
Expand All @@ -89,4 +93,4 @@ To start playing the zkShuffle Card Game, follow these steps:
4. **Deploy Contracts**: `npx hardhat run scripts/deploy.js`
5. **Start the Frontend**: `npm start` or `yarn start`

Enjoy the game and may the best strategist win!
Enjoy the game and may the best strategist win!

0 comments on commit 5132821

Please sign in to comment.