hackquest logo

SKETCH-CHAIN

Sketch-Chain: A Web3 drawing game where players wager crypto, compete to draw and guess, and winners take the pool.

视频

描述

Sketch-Chain is an innovative Web3 gaming platform that reimagines the classic drawing and guessing game format by incorporating blockchain technology and cryptocurrency wagering. Here's a detailed overview:


Core Gameplay:

- Players can either create or join game rooms using a unique 6-digit code

- Each round, one player draws while others guess the given word

- Players earn points based on how quickly they guess correctly

- Games consist of multiple rounds where each player gets turns to draw


Blockchain Integration:

- Built on the Mantle-Sepolia network for fast, low-cost transactions

- Smart contracts ensure transparent and automatic prize distribution

- Players must place a wager (minimum 1 USD in cryptocurrency) to join games

- All wagers are pooled, and the winner with the highest points automatically receives the entire pot


Key Features:

- Real-time drawing and guessing using Socket.io for seamless multiplayer interaction

- WalletConnect integration for secure cryptocurrency transactions

- 90-second time limit per round for fast-paced gameplay

- Point system that rewards quick and accurate guesses

- Automated winner detection and instant prize distribution

- Game history tracking on the blockchain


Technical Implementation:

- Built with Next.js 14 and TypeScript for robust frontend development

- Solidity smart contracts for secure game logic and prize management

- Real-time WebSocket server for synchronized multiplayer experience

- Responsive design for seamless play across all devices


The platform combines the engaging social aspects of drawing games with the excitement of cryptocurrency wagering, creating a unique gaming experience where artistic skills and quick thinking can lead to crypto rewards.

本次黑客松进展

During the hackathon, I developed Sketch-Chain through four focused days: Day 1: Built smart contracts, set up Next.js with TypeScript, and added WalletConnect integration. Day 2: Created real-time drawing canvas, implemented Socket.io multiplayer, and connected wagering system. Day 3: Built animated landing page, developed game interface, and added point system with automatic prize distribution. Day 4: Added game history, enhanced error handling, improved UI/UX, and conducted thorough testing. The focus remained on seamlessly blending Web3 functionality with engaging gameplay.

赛道
GameFiSocialFiNFTOther

更多项目