RPS-Onchain

Blockchain Rock Paper Scissors game on Sepolia with ETH betting, commit-reveal anti-cheat, room codes for multiplayer, and IPFS match history storage via smart contracts.

  • 0 Raised
  • 251 Views
  • 0 Judges

Categories

  • 🏆 Open Track 🏆
  • 🏆 ENS Bounty 🏆
  • 🏆 Buidl Guidl Bounty 🏆
  • 🏆 Base Bounty 🏆

Description

RPS-ONCHAIN is a blockchain-based Rock Paper Scissors game built on Base Sepolia testnet that enables players to wager ETH in provably fair matches using smart contracts. Players create rooms with 6-character codes, invite opponents, and use a commit-reveal scheme to prevent cheating where moves are cryptographically hashed before being revealed on-chain. The game features wallet integration via RainbowKit, real-time multiplayer gameplay, winner-takes-all betting mechanics, and permanent match history storage on IPFS through Pinata for decentralized record keeping. Built with Next.js, Solidity, and Wagmi, the platform ensures transparent, trustless gameplay where smart contracts handle all game logic, fund escrow, and prize distribution automatically.


github link: https://github.com/Delvin233/rps-onchain 

live link: https://rps-onchain-nextjs.vercel.app/ 

Attachments