Hangman - Classic Word Guessing Game

Seele01-Flash
By
Hangman is the beloved classic word guessing game where you decode hidden words and phrases by guessing one letter at a time. Challenge your vocabulary and deduction skills in this timeless puzzle game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Modern Stylized Hangman". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Adhere to a clean, "digital notebook" aesthetic. The background should be a subtle, infinite grid (graph paper style) in light grey or off-white. * **The Hangman Model:** Instead of a traditional grim 2D drawing, use a **3D animated stick figure**. * Start with an empty gallows structure (simple 3D wooden or metallic beams). * With every wrong guess, a body part (Head, Torso, Left Arm, Right Arm, Left Leg, Right Leg) should "pop" into existence or be drawn in 3D space using a thick black tube geometry (mimicking a marker pen stroke). * The stick figure should have a slight, playful idle animation (e.g., swaying in the wind) rather than being static. * **Typography:** The letters for the word puzzle should look like 3D floating handwritten glyphs (similar to the blue "H" in the reference image). Use a glowing blue material for correct guesses and a red material for wrong guesses. * **Environment:** Minimalist. No complex skybox. Soft ambient lighting to ensure high readability on mobile screens outdoors. * **Performance:** Use low-poly geometries for the stick figure and gallows. Reuse geometries for letters to minimize draw calls. ### 2. Audio Requirements * **BGM:** A relaxing, lo-fi "study beat" or acoustic guitar track. It should be unobtrusive and loop seamlessly to aid concentration. * **SFX - Selection:** A soft "pencil scratching on paper" sound or a "chalk tap" sound when selecting a letter. * **SFX - Correct:** A satisfying, harmonious chime or a "ding" sound. * **SFX - Wrong:** A dull "thud" or a "scribble" sound (like crossing something out). * **SFX - Game Over/Win:** A short, cheerful fanfare for winning; a comedic "wah-wah-wah" or crumbling paper sound for losing. ### 3. Gameplay Loop * **Initialization:** The game starts by selecting a random word from a predefined array of categories (e.g., Animals, Food, Countries). Display empty underscores `_ _ _` representing the word length in the 3D scene. * **The Guessing Phase:** * The player selects letters from a virtual keyboard. * **Correct Guess:** The corresponding underscore is replaced by the 3D letter. The player gets no penalty. * **Wrong Guess:** One part of the stick figure is added to the gallows. The "Lives" counter decreases. * **Win Condition:** All letters are revealed before the stick figure is complete. The stick figure could do a happy flip or dance before the next level loads. * **Lose Condition:** The stick figure is fully drawn (Head, Body, Arms, Legs). The figure might perform a "ragdoll" collapse animation to signify defeat. ### 4. Mobile Controls & Interaction * **Orientation:** Portrait mode (Vertical) is preferred for one-handed play. * **Main Interaction - Virtual Keyboard:** * Place a QWERTY layout virtual keyboard at the bottom 1/3 of the screen. * **Hitbox Size:** Keys must be large enough (min 44x44px) to prevent mistouches. * **Visual Feedback:** When a key is tapped, it should depress visually or change color (grey out) to indicate it has been used. * **3D Scene Interaction:** Allow the user to swipe the top half of the screen to slightly rotate the camera around the gallows/word, adding depth perception, but auto-return to center when released. * **Haptic Feedback:** * Light vibration (Taptic Engine) on every key press. * Heavy vibration on a wrong guess or game over. * A "success" vibration pattern on completing the word. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Hangman is the digital adaptation of one of the world's most popular word guessing games. This classic puzzle challenges players to decode hidden words and phrases by strategically selecting letters one at a time. With its simple yet engaging gameplay, Hangman has entertained generations of word game enthusiasts and continues to be a favorite choice for players looking to test their vocabulary and deductive reasoning skills.

The game combines education with entertainment, making it perfect for players of all ages who want to improve their spelling, expand their vocabulary, and enjoy a mentally stimulating challenge.

Core Features

This digital version of Hangman brings the classic experience to your browser with several enhanced features:

  • Completely Free : Play unlimited rounds without any cost or registration requirements
  • Instant Access : No downloads needed - play directly in your web browser
  • Clean Interface : Simple, distraction-free design that focuses on the word puzzle
  • Cross-Platform : Compatible with computers, tablets, and smartphones
  • Educational Value : Helps improve spelling, vocabulary, and critical thinking skills
  • Family Friendly : Suitable content for players of all ages

Timeless Gameplay Mechanics

The game stays true to the original Hangman format while providing a smooth digital experience. Each wrong guess adds a part to the gallows, creating tension and encouraging strategic thinking about letter selection.

Perfect for Learning

Hangman serves as an excellent educational tool, helping players naturally improve their language skills while having fun. It's particularly beneficial for students learning English or anyone looking to expand their vocabulary.

Game Playstyle

Hangman follows the traditional rules that have made this game a classroom and family favorite:

Objective : Guess the hidden word or phrase before the drawing is completed

Gameplay Flow : 1. A word or phrase is selected and displayed as blank spaces 2. Choose letters one at a time by clicking or typing 3. Correct guesses reveal all instances of that letter in the word 4. Wrong guesses add parts to the hangman drawing 5. Win by completing the word before the drawing is finished

Strategic Elements : Success requires balancing common letters (vowels like A, E, I, O, U) with strategic consonants based on word patterns and length.

How to Play

Getting started with Hangman is straightforward:

Basic Controls : - Mouse Click : Select letters from the on-screen alphabet - Keyboard Input : Type letters directly on your keyboard - Letter Selection : Choose one letter at a time to test if it appears in the hidden word

Winning Strategy : - Start with common vowels (A, E, I, O, U) - Follow with frequent consonants (R, S, T, L, N) - Pay attention to word length and revealed patterns - Consider common word endings and prefixes - Think about the category or theme if provided

Game Rules : - Each incorrect guess adds a body part to the gallows - You typically have 6-7 wrong guesses before losing - Guess the complete word at any time if you think you know it - Case doesn't matter for letter guesses

Why Play This Game

Hangman offers unique benefits that make it more than just entertainment:

Mental Exercise : Regular play enhances vocabulary, spelling abilities, and pattern recognition skills. It's like a daily workout for your brain that keeps your language skills sharp.

Stress-Free Learning : Unlike timed word games, Hangman lets you think at your own pace, making it perfect for relaxed learning sessions or quick mental breaks.

Universal Appeal : The game transcends age groups - children can learn new words while adults can challenge themselves with complex phrases and technical terms.

Quick Sessions : Perfect for short breaks, with each round taking just a few minutes to complete.

Nostalgic Fun : Brings back memories of classroom games while offering the convenience of digital play anywhere, anytime.

Whether you're a student looking to improve your spelling, a word game enthusiast seeking a classic challenge, or someone who simply enjoys the satisfaction of solving puzzles, Hangman delivers an engaging and educational gaming experience that never gets old.

Frequently Asked Questions (FAQ)