A coding-themed game integrated with SP1 for cryptographic verification of game results.
- Click-based gameplay where players need to catch code elements
- Visual effects and animations for an engaging experience
- SP1 zero-knowledge proof integration for secure score verification
- Responsive design for different screen sizes
This game features SP1 (Succinct Processor 1) integration that provides:
- Cryptographic proof of game scores
- Tamper-proof game results
- Privacy-preserving verification
The SP1 integration allows players to verify their scores without revealing their specific actions during gameplay.
- Clone this repository from GitHub
- Open
index.htmlin your browser to play the game - For the full SP1 integration, you'll need to set up the Rust backend:
cd sp1back
cargo buildindex.html- Main game interfacesrc/- JavaScript game logic and stylesapp.js- Core game mechanicssp1-bridge.js- Bridge to SP1 functionalitystyle.css- Game styling
sp1back/- Rust backend for SP1 integrationsrc/lib.rs- SP1 core functionalitysrc/main.rs- RISC-V program for SP1 zkVMbuild.rs- Build script for compiling the SP1 program
- HTML5/CSS3/JavaScript
- Rust
- SP1 zkVM (Zero-Knowledge Virtual Machine)
SP1 is a high-performance zero-knowledge virtual machine that can prove the execution of arbitrary Rust programs. It enables developers to create verifiable computations with privacy guarantees. Learn more at Succinct Docs.
MIT
