BrushBattle - Online Drawing Competition Game

Seele01-Flash
By
BrushBattle is an exciting online drawing competition game where speed and accuracy matter most. Draw given words as quickly as possible, compete against friends in real-time battles, and let AI recognition determine the winner.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**BrushBattle: 3D Art Studio**". Please read the following detailed game design requirements first, and then generate the code accordingly. **Important Note for Code Generation:** Since real-time AI image recognition is complex for a single script, please **simulate** the "AI Recognition" mechanic. The game should track the amount/complexity of the player's strokes to fill a "Recognition Confidence" meter to decide the win condition. ### 1. Assets & Environment * **Visual Style:** A vibrant, **Cel-shaded / Toon-style** 3D environment that mimics the provided logo's aesthetic (thick outlines, flat pastel colors: Pink #FFC0CB, Cyan #00FFFF, Yellow #FFFDD0). * **The Scene:** The camera should face a 3D Easel holding a blank white Canvas. The background should be a blurred or low-poly "Art Studio" (wooden floor, paint splatters on the ground, floating paint buckets). * **The Brush:** Instead of a standard cursor, render a 3D Paintbrush model that follows the user's touch/mouse position. When drawing, the brush tip should squish slightly against the canvas. * **Tech Stack:** Use a dynamic 2D `<canvas>` texture mapped onto the 3D mesh of the drawing board. This allows for performant 2D drawing logic within a 3D world. * **Mobile Optimization:** Use simple geometry for the background. Ensure the "Drawing Board" mesh takes up the majority of the screen space. ### 2. Audio Requirements * **BGM:** A relaxing, creative "Lo-fi Hip Hop" or acoustic guitar track that loops seamlessly. * **Sound Effects (SFX):** * **Drawing:** A scratchy "pencil on paper" or wet "brush on canvas" sound that loops only while the user is actively drawing. * **Success:** A cheerful "Ding!" or chime when the AI recognizes the drawing. * **UI:** Soft "pop" sounds for button clicks. * **Opponent:** A subtle scribbling sound coming from the "opponent's" side (to simulate multiplayer tension). ### 3. Gameplay Loop * **Phase 1: The Prompt:** A text overlay appears displaying a random word (e.g., "Apple", "Sun", "House") and a countdown timer (60 seconds). * **Phase 2: The Battle:** * **Player:** Draws on the canvas using touch/mouse. * **Simulated Opponent:** A small UI bar or a secondary mini-canvas shows a "Bot" drawing at a random speed. * **Recognition Mechanic:** A progress bar labeled "AI Confidence" fills up as the player adds strokes. If the player draws enough "ink" within a reasonable time, the bar turns green. * **Phase 3: Win/Loss:** * **Win:** The "AI Confidence" hits 100% before the timer ends or before the Bot finishes. Confetti particles explode from the easel. * **Loss:** The timer runs out or the Bot wins. The canvas falls off the easel. ### 4. Mobile Controls & Interaction * **Touch Input (Raycasting):** Implement `touchstart` and `touchmove` event listeners. Use a Raycaster to detect where the user is touching the 3D Canvas mesh. Map these 3D intersection points to 2D coordinates to draw on the texture. * **Screen Orientation:** **Portrait Mode** preferred (feels like holding a sketchbook). * **UI Layout:** * Top: Target Word & Timer. * Middle: The interactive 3D Canvas (occupies 70% of screen). * Bottom: Large, thumb-friendly buttons (min 44px height) for "Clear Canvas", "Undo", and a Color Picker palette (3-4 preset colors). * **Feedback:** Add a slight "camera shake" or particle emission at the brush tip when drawing to make the strokes feel impactful. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

BrushBattle is a thrilling online drawing competition game that puts your artistic skills and quick thinking to the ultimate test. In this fast-paced drawing battle, players race against time and opponents to create recognizable drawings based on given words. The innovative AI recognition system judges your artwork, making victory depend on both speed and accuracy rather than artistic perfection.

This engaging skill-based game combines the creativity of drawing with the excitement of competitive gameplay, offering endless entertainment for artists of all skill levels.

Core Features

AI-Powered Recognition System

The game's intelligent computer recognition system instantly analyzes your drawings, determining winners based on how quickly and accurately you can convey the given word. Sometimes you don't even need to complete your entire drawing – a few strategic strokes can secure victory!

Multiple Game Modes

  • Battle Mode : Compete head-to-head against other players in real-time drawing duels
  • Practice Mode : Hone your skills solo and set personal speed records
  • Multiplayer Support : Challenge friends or match with players worldwide

Cross-Platform Accessibility

  • Completely Free : No payments, subscriptions, or hidden fees
  • No Download Required : Play instantly in your web browser
  • Universal Device Support : Works seamlessly on computers, phones, and tablets
  • Touch and Mouse Compatible : Optimized for both touch screens and mouse input

Quick and Intuitive Gameplay

The simple click-or-tap drawing interface ensures anyone can jump in and start playing immediately, regardless of their technical or artistic background.

Game Mechanics

In BrushBattle, success comes from understanding what the AI recognition system looks for in drawings. The key strategy involves:

  • Speed Over Perfection : Quick, recognizable sketches often triumph over detailed artwork
  • Essential Details First : Focus on the most distinctive features of each word
  • Strategic Sketching : Learn which elements the AI prioritizes for different categories

The competitive element keeps every round exciting, as you never know when an opponent might achieve recognition first.

How to Play

Getting started with BrushBattle is incredibly simple:

  1. Choose Your Mode : Select Battle mode for competitive play or Practice mode to improve your skills
  2. Receive Your Word : The game will display a word prompt for you to draw
  3. Start Drawing : Use your mouse or finger to draw on the canvas
  4. Race for Recognition : The first player whose drawing is recognized by the AI wins the round
  5. Compete and Improve : Continue playing to master different word categories and improve your speed

The intuitive interface means you can focus entirely on your drawing strategy rather than learning complex controls.

Why Play BrushBattle

Perfect for All Skill Levels

Whether you're a professional artist or someone who "can't draw a stick figure," BrushBattle levels the playing field. The AI recognition system rewards quick thinking and essential details over artistic perfection, making it accessible and fun for everyone.

Social and Competitive Fun

The multiplayer features transform drawing from a solitary activity into an exciting social experience. Challenge friends, meet new players, or practice alone – the choice is yours.

Skill Development

Regular play naturally improves your: - Visual Analysis : Learning to identify key features of objects - Hand-Eye Coordination : Developing precise mouse or touch control - Quick Thinking : Making rapid decisions about what to draw first - Strategic Planning : Understanding how to convey concepts efficiently

Instant Gratification

With no downloads, registrations, or complex setups required, you can start playing within seconds of discovering the game. This accessibility makes it perfect for quick breaks, casual gaming sessions, or competitive tournaments with friends.

Frequently Asked Questions (FAQ)