Skribbl.io - Online Multiplayer Drawing Game

Seele01-Flash
By
Skribbl.io is the world's most popular multiplayer drawing and guessing game. Challenge friends and players globally in this fast-paced Pictionary-style experience where creativity meets competition.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**3D Virtual Pictionary / Skribbl.io Clone**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **The Studio (Scene):** Create a minimalist, soft-lit 3D environment. The central element is a large, slightly angled **3D Whiteboard/Easel** (a `THREE.PlaneGeometry`). The background should be a blurred, comforting color (e.g., soft pastel blue or cream) to keep focus on the drawing board. * **The Drawing Mechanism (Texture Mapping):** Do not create thousands of individual line meshes. Instead, use a dynamic `HTMLCanvasElement` mapped to a `THREE.CanvasTexture` applied to the whiteboard plane. This ensures high performance on mobile devices. * **Avatars:** Represent other players as simple Low-Poly floating spheres or cubes with floating names above them, arranged in a semi-circle around the board. * **Visual Style:** "Hyper-casual" aesthetic. Bright, primary colors for the UI and drawing tools. Clean lines, flat shading. ### 2. Audio Requirements * **BGM:** A looping, relaxing "Lo-Fi Hip Hop" or "Bossa Nova" track to encourage creativity without distracting from the thinking process. * **Sound Effects (SFX):** * **Drawing:** A satisfying "marker squeak" or "scribble" sound that loops while the user's finger is moving on the board. * **UI:** Soft "pop" sounds when selecting colors. * **Game State:** A "Ding!" for a correct guess, a "Buzzer" for time running out, and a "Tick-Tock" sound for the last 10 seconds. ### 3. Gameplay Loop * **Role Switch System:** The game cycles between two states: **Artist** and **Guesser**. * **Artist State:** The player receives a word (display a random word at the top) and must draw it on the board. Tools: Color picker, Brush size, Eraser, Trash (Clear all). * **Guesser State:** The board updates automatically (simulated drawing or network data). The player has a text input field to type guesses. * **Scoring:** Points are awarded based on speed. Faster guesses = more points. * **Simulation (For Code Generation):** Since this is a frontend code generation, simulate the multiplayer aspect: * Have "Bots" automatically output random guesses in a scrolling chat log. * When the player is the Guesser, have the AI "draw" a simple pre-defined shape (like a circle or house) pixel-by-pixel on the texture. ### 4. Mobile Controls & Interaction * **Orientation:** **Portrait Mode** (Vertical). * **Top Half:** The 3D Viewport showing the Whiteboard. * **Bottom Half:** UI Controls (Color Palette, Brush Size) and the Chat/Guess Interface. * **Touch Input (Raycasting):** Implement a `Raycaster` that translates 2D touch coordinates (touchstart, touchmove) into UV coordinates on the Whiteboard plane to draw lines on the texture. * **Latency:** Ensure the drawing line follows the finger instantly with no perceived lag. * **UI & UX:** * **Color Palette:** A scrollable horizontal bar of colored circles (minimum 44x44px touch targets). * **Keyboard Handling:** When the user taps the "Guess" input field, ensure the 3D canvas resizes or shifts up so the virtual keyboard doesn't obscure the drawing. * **Feedback:** Add a small vibration (Haptic Feedback) when a guess is correct or when the drawing turn begins. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Skribbl.io

Skribbl.io is the ultimate multiplayer drawing and guessing game that has captivated millions of players worldwide. This engaging browser-based game combines the classic fun of Pictionary with competitive online multiplayer action. Whether you're an artist or just love word games, Skribbl.io offers endless entertainment as you draw, guess, and compete for the top spot on the leaderboard.

Core Features

Real-Time Multiplayer Action

Join rooms with up to 12 players from around the globe. Each game creates a dynamic social experience where communication happens through drawings and chat, making every session unique and memorable.

Fast-Paced Drawing Rounds

Players take turns being the artist while others guess the mystery word. The faster you guess correctly, the more points you earn. This creates an exciting race against time that keeps everyone engaged and on their toes.

Intuitive Drawing Tools

The game provides simple yet effective drawing tools including: - Multiple brush sizes for detailed or bold strokes - A complete color palette for vibrant artwork - Easy-to-use interface that works perfectly on any device - Undo function for quick corrections

Smart Word System

The game features thousands of words across various difficulty levels and categories. Visual hints show the number of letters in each word, helping players make educated guesses while maintaining the challenge.

Game Mechanics

Drawing Phase

When it's your turn to draw, you'll receive a secret word that other players must guess. You have a limited time to create a visual representation using the drawing tools. The key is to make your drawing clear enough for others to understand while working within the time constraint.

Guessing Phase

While someone else draws, you'll compete with other players to guess the word first. Type your guesses in the chat box and watch as correct answers earn you valuable points. The scoring system rewards quick thinking and accurate guesses.

Scoring System

Points are awarded based on: - Speed of correct guesses (faster = more points) - Accuracy of your drawings (more people guessing correctly = bonus points) - Consecutive correct guesses create score multipliers

Why Play Skribbl.io

Perfect Social Gaming Experience

Skribbl.io brings people together through the universal language of art and creativity. It's an excellent way to bond with friends, meet new people, or simply enjoy some lighthearted competition during breaks.

No Download Required

Play instantly in any web browser without downloads, installations, or account creation. The game is completely free and accessible from computers, tablets, and smartphones.

Develops Creative Skills

Regular play naturally improves your drawing abilities, vocabulary, and quick thinking skills. It's educational entertainment that benefits players of all ages.

Endless Replayability

With thousands of possible words, different player combinations, and varying artistic styles, no two games are ever the same. The community-driven nature ensures fresh content and interactions in every session.

Operation Guide

Basic Controls

  • Mouse : Click and drag to draw on the canvas
  • Keyboard : Type guesses in the chat during other players' turns
  • Color Palette : Click colors to change your drawing tool
  • Brush Size : Select different brush sizes for various drawing effects
  • Clear Button : Start over if you make mistakes

Getting Started

  1. Visit the Skribbl.io website
  2. Choose to create a private room or join a public game
  3. Enter your nickname
  4. Wait for other players to join
  5. Start drawing and guessing!

Pro Tips for Success

  • Draw simple, recognizable shapes first
  • Use colors strategically to convey meaning
  • Pay attention to letter count hints
  • Think of common words and synonyms when guessing
  • Practice regularly to improve your speed and accuracy

Frequently Asked Questions (FAQ)