Zombie Math - Educational Math Game

Seele01-Flash
By
Zombie Math combines thrilling zombie action with educational math practice, making learning fun for students from preschool to 8th grade. Solve math problems correctly to defeat zombies and save humanity!

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Zombie Math". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Low-poly 3D with a **Cartoon/Cel-shaded** aesthetic to match the "Educational" yet "Gross" tags. Use a color palette dominated by toxic greens, bright reds, and dark purples (nighttime vibe). * **Key Models**: * **Player Perspective**: A stationary defensive position (e.g., a barricade or turret) at the bottom center of the screen. * **Zombies**: Green-skinned, blocky undead characters with goofy, staggering walk cycles. * **Humans**: Panicked civilians (blue/neutral colors) running across the field of view from left to right or fleeing away from zombies. * **Environment**: A spooky, fog-covered city street. Simple geometry for buildings in the background. Ground requires a dark asphalt texture. * **Particles**: "Gross" style effects—green slime splashes when zombies are hit, cartoon dust clouds when humans are knocked out. * **Mobile Optimization**: Use `BoxGeometry` and `CylinderGeometry` for characters to keep poly count extremely low. Use baked lighting or a single DirectionalLight to save battery. ### 2. Audio Requirements * **BGM**: A "Spooky but Silly" loop. Think Halloween-themed cartoon music—pizzicato strings, theremin, and a steady hip-hop beat to keep the pacing energetic for math solving. * **Sound Effects**: * **UI**: Soft "pop" sounds for keypad entry. * **Correct Answer**: A satisfying "Laser Zap" or "Splat" sound followed by a zombie groan. * **Wrong Answer**: A buzz/error noise and a comedic "Oof!" or scream from a human. * **Ambient**: Distant sirens and wind. ### 3. Gameplay Loop * **Setup**: The player selects a math skill level (Addition, Subtraction, Multiplication, Algebra) at the start. * **The Flow**: * The camera looks down a street. Zombies slowly walk toward the camera (the player). Humans occasionally run across the screen laterally. * A large **Math Question** (e.g., "12 + 5 = ?") is displayed at the top of the screen. * **Mechanic**: * If the player inputs the **Correct Answer**: A projectile fires automatically at the nearest Zombie, destroying it (score +1). * If the player inputs the **Wrong Answer**: The projectile misfires and hits a Human (civilian casualty). * **Win Condition**: Defeat a set number of zombies (e.g., 10) to advance levels. * **Lose Condition**: If 3 Humans are hit (Wrong Answers) OR if a Zombie reaches the player's barricade, it is Game Over. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Portrait Mode** is required. This allows the 3D scene to occupy the top 60% of the screen and the UI/Controls to occupy the bottom 40%. * **Control Scheme**: * **Numpad / Choice Grid**: Place a large, touch-friendly numeric keypad or a 2x2 grid of multiple-choice answers at the bottom of the screen. * **Button Size**: Buttons must be at least 60px height with high contrast text for readability. * **Feedback**: * **Haptic**: Trigger a short vibration (100ms) on a wrong answer/human hit. * **Visual**: Flash the screen borders Red on wrong answers and Green on correct answers. * **UI Layout**: * Top Left: Zombie Kill Count (Target). * Top Right: Human Lives Remaining (Health). * Center Overlay: The Math Question text (Large font). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Zombie Math is an innovative educational puzzle game that transforms math practice into an exciting zombie survival adventure. With a stellar 4.4/5 rating, this game proves that learning can be both fun and engaging. The zombie apocalypse has arrived, and your math skills are humanity's only hope for survival!

This unique combination of education and entertainment makes math practice feel like an action-packed adventure rather than traditional studying.

Core Features

Comprehensive Math Curriculum

Zombie Math covers a wide range of mathematical concepts suitable for different grade levels:

  • Preschool to 8th Grade : Adaptive difficulty levels that grow with your skills
  • Multiple Math Topics : Addition, subtraction, multiplication, division, decimals, and algebra
  • Progressive Learning : Start with basic arithmetic and advance to complex algebraic equations
  • Customizable Practice : Choose specific math skills you want to improve

Engaging Gameplay Mechanics

The game combines education with excitement through:

  • Zombie Combat System : Correct answers defeat zombies, wrong answers accidentally harm humans
  • Strategic Thinking : Balance speed and accuracy to maximize your score
  • Level Progression : Advance through increasingly challenging stages
  • Performance Tracking : Monitor your progress and identify areas for improvement

Free Online Access

  • No Download Required : Play instantly in your web browser
  • Cross-Platform Compatible : Works on computers, tablets, and smartphones
  • HTML5 Technology : Smooth performance on all modern devices
  • Completely Free : Full access to all features without any cost

Game Playthrough

Zombie Math creates an immersive learning environment where mathematics becomes a survival skill. Players must quickly solve math problems under pressure, simulating real-world scenarios where quick thinking and accurate calculations are essential.

The game's zombie theme adds excitement without being too scary, making it appropriate for younger learners while still engaging older students. The visual feedback system helps reinforce correct mathematical concepts through positive gameplay experiences.

Operation Guide

Getting started with Zombie Math is simple:

Initial Setup

  1. Select Your Grade Level : Choose from preschool through 8th grade to match your current math level
  2. Pick Your Math Skill : Focus on specific areas like addition, multiplication, decimals, or algebra
  3. Start the Mission : Begin your zombie-fighting math adventure

Gameplay Controls

  • Answer Math Questions : Solve problems quickly and accurately
  • Aim and Shoot : Correct answers automatically target zombies
  • Avoid Humans : Wrong answers accidentally harm innocent survivors
  • Monitor Progress : Watch the zombie counter (left corner) and human safety meter (right corner)

Winning Strategy

  • Accuracy First : Focus on getting answers right rather than rushing
  • Learn from Mistakes : Use incorrect answers as learning opportunities
  • Practice Regularly : Consistent play improves both math skills and game performance

Why Play This Game

Educational Benefits

Zombie Math transforms traditional math drills into engaging gameplay, making it perfect for:

  • Students who struggle with math motivation
  • Parents seeking fun educational tools for their children
  • Teachers looking for classroom-friendly educational games
  • Adult learners wanting to refresh their math skills

Unique Learning Approach

Unlike traditional math worksheets, Zombie Math provides: - Immediate feedback through visual and audio cues - Stress-free learning environment with game-like progression - Multiple attempts to master difficult concepts - Adaptive difficulty that matches your skill level

Perfect for All Ages

With content suitable for all ages and math levels ranging from basic counting to advanced algebra, Zombie Math grows with learners and provides long-term educational value.

The game proves that educational content doesn't have to be boring – it can be just as exciting and engaging as any entertainment-focused game while delivering real learning outcomes.

Frequently Asked Questions (FAQ)