zkSnake - Verifiable snake game
Prove your game scores with ZK!
Created on 2nd March 2024
•
zkSnake - Verifiable snake game
Prove your game scores with ZK!
The problem zkSnake - Verifiable snake game solves
Recently, Andrew and I were playing a competitive game of snake seeing who can reach the highest score. However, after seeing Andrew receive a score of 1000 in mere minutes, I started having suspicions on if the score he posted was legit.
This project, zkSnake, solves this problem by using zk proofs to verify if a score is legit or not.
Challenges we ran into
- Determining how to create the same snake game in the javascript webapp and the rust backend (game replayer)
- Determining how to replay the game in the rust backend (this is done by sending the snakes direction during each second as input to the game replayer
- Determining how to display the value of the score in the NFT's image itself
- Integrating metamask's mobile connection
Tracks Applied (5)
Best use of NFT API
QuickNode
Best zkCoprocessor on Foundry Template
RISC Zero
Unleash your creativity with MetaMask SDK
Linea
Build an app using RISC Zero ZKVM/Bonsai
RISC Zero
Defi, NFTs & Gaming
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
Discussion
Builders also viewed
See more projects on Devfolio
