Inspiration
We need more on-chain games!
What it does
2 player Russian Roulette Game. Player 1 creates a game and sets the wager to bet. Player 2 joins the game and must match the wager. Game then starts and each player must spin the revolver cylinder (get random number from VRF) and fire the revolver (determines if player loses based on RNG) on their turn. Game continues back and forth until there is a winner.
How we built it
Chainlink VRF, ethersjs, react
Challenges we ran into
Events always give me problems. For some reason, about 10% of events are missed using ethersjs, no matter what I do.
Accomplishments that we're proud of
Actually getting this thing working with very limited time
What we learned
- Getting comfortable with Chainlink VRF. Will have to try something new next hackathon.
- Some React practice.
What's next for Revolver
- A proper UI with animations
- More than 2 players
- Deployment on mainnet!

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