DoodleWars

DoodleWars

Stake, Sketch, Score!

DoodleWars

DoodleWars

Stake, Sketch, Score!

The problem DoodleWars solves

A Web3-powered multiplayer drawing game where friends stake, sketch, and compete to guess a random word. Voting determines the winner, and the staked amount is distributed fairly. Fun, fair, and on-chain!
In a world where people are increasingly spending time online, the game offers a creative and fun way for friends to interact with each other in a relaxed, casual environment. It makes it easy for people to connect virtually, enjoy drawing, and engage in friendly competition. Friends can join a room, draw a random word, vote for their favorite artwork, and have a good time together.
People often enjoy competition, but many social games don’t offer fair stakes or rewarding outcomes. By introducing a staking system, players have a financial or point-based incentive to perform their best. This adds excitement and motivates players to engage more deeply with the game.

Challenges we ran into

While building this project, we faced significant challenges with WebSocket integrations and smart contract interactions. WebSocket connections often experienced unexpected disconnects and message delivery issues, making real-time communication unreliable. To address this, we implemented exponential backoff for reconnections, added heartbeat pings to monitor connection health, and used robust libraries like web sockets to manage connection stability. On the smart contract side, we encountered issues with gas optimization and contract state synchronization. These were resolved by auditing the contract for inefficiencies, utilizing batching techniques for transactions, and implementing retry mechanisms to handle transient failures. These solutions ensured a smooth and reliable user experience.

Additional Features

We integrated a staking system, allowing players to put up a stake (virtual currency or cryptocurrency) to join a game room. The winner receives the pooled stakes from all participants.
A real-time voting system was implemented, where players could vote for the drawing they liked the most once the drawing phase was complete. The voting was synchronized using web sockets to ensure immediate feedback.
A leaderboard feature was implemented to show the top players based on their wins and total stakes earned. This introduced an additional layer of motivation for players, encouraging competition and repeat engagement with the game as players strive to top the leaderboard.

Tracks Applied (7)

Best projects integrating with the Walrus protocol

Our project, a drawing-based game where friends stake an amount and compete by creating images related to a random word,...Read More

Walrus

OnchainKit Pool Prize

Our project, a multiplayer drawing game where friends stake and compete by drawing a random word, aligns with the Coinba...Read More

Coinbase Developer Platform

Build Innovative Consumer Apps on Base

Our project, Doodle Wars, is a fun drawing game that uses blockchain to make the experience exciting and transparent. Pl...Read More

Base

Best Consumer-Focused Application Using Okto

Our project fits into the Okto by CoinDCX track as the Best Consumer-Focused Application by integrating Okto for Google ...Read More

okto by CoinDCX

Pool Prize

Our project fits into the Okto by CoinDCX for the Pool Prize track by integrating Okto for Google sign-in authentication...Read More

okto by CoinDCX

Open Track

Our project, a multiplayer drawing game where friends stake and compete by drawing a random word, fits into the BNB Chai...Read More

BNB Chain

Store your hackathon project data using Akave

Our project, Doodlewars a multiplayer drawing game where friends compete by sketching a randomly assigned word, aligns s...Read More

Akave

Discussion