Inspiration We wanted to merge AI, blockchain, and cryptographic proofs to create an immersive, verifiable gaming experience. Escape rooms are a natural fit for Web3 because they require trust in game mechanics. By leveraging verifiable AI and on-chain commitments, we built a game where puzzles and solutions are provably fair—no black-box AI, just verifiable logic.
What it does ChainEscape Lite is a Web3 escape room game powered by AI-generated puzzles, where players earn or lose points based on their answers. Every puzzle solution is hashed and committed on-chain, ensuring transparency. Players connect their wallets, attempt solutions, and receive verifiable AI-generated feedback. Correct answers earn points and NFT rewards, while incorrect answers or skips deduct points.
How we built it AI Agent: Uses GPT-4 via OpenAI API to generate puzzles dynamically. Verifiability: Uses Opacity (zkTLS proofs) to prove AI inferences are unaltered. Data Availability: EigenDA ensures game state is tamper-proof. Blockchain: Smart contracts deployed using Hardhat, Solidity, and Ethers.js handle scorekeeping. Frontend: Built in React.js with wallet authentication for seamless user interaction. Challenges we ran into Integrating zkTLS proofs from Opacity into a real-time gameplay loop. Ensuring AI-generated puzzles had computationally verifiable answers. Designing an efficient, gas-optimized system for committing and verifying puzzle hashes on Ethereum. Accomplishments that we're proud of Fully decentralized AI-generated puzzles that are provably fair. A seamless player experience integrating Layer 2 scalability. Secure, off-chain puzzle verification with zero-knowledge proof mechanisms. What we learned How to bridge AI and Web3 in a provable, trustless way. The potential of zk-proofs to enable verifiable AI applications beyond gaming. Optimizing smart contracts for gas efficiency while maintaining security. What’s next for ChainEscape Lite Multi-player mode with competitive leaderboards and smart contract-governed bets. Generative AI-driven game narratives that change based on user choices. Expanding to AI-generated treasure hunts or on-chain education puzzles with tokenized incentives.
Built With
- ai:-openai-gpt-4-verifiability:-opacity-(zktls-proofs)-data-availability:-eigenda-smart-contracts:-solidity
- ethers.js-blockchain:-ethereum
- hardhat
- layer-2-scaling-frontend:-react.js

Log in or sign up for Devpost to join the conversation.