Arithmetica - Math Puzzle Game

Seele01-Flash
By
Arithmetica is an exciting math puzzle game that challenges your arithmetic skills under time pressure. Solve mathematical equations quickly to extend your time and achieve high scores while training your brain.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Arithmetica**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Skeuomorphic "Classroom" aesthetic. The entire game takes place on a high-fidelity **School Blackboard**. * **Scene Setup:** * **Background:** A dark, textured slate/chalkboard material (dark grey/green with subtle noise). * **Frame:** A realistic wooden frame surrounding the viewport to mimic the screenshot. * **Chalk Details:** Two pieces of white chalk and a felt eraser sitting on the bottom ledge of the frame (can be simple 3D primitives: Cylinders and a Box). * **Text/UI:** All numbers and symbols must look like they are written in **white chalk**. Use a handwriting-style font (load a Google Font like 'Permanent Marker' or 'Chalkboard'). * **Particles:** When a player answers correctly, trigger a "Chalk Dust" particle explosion (white cloudy sprites) at the location of the tapped number. * **Mobile Optimization:** Use a fixed Orthographic Camera to ensure a consistent 2D-on-3D view. Limit particle count to <100 per explosion for performance. ### 2. Audio Requirements * **BGM:** A rhythmic, "thinking" track. Fast-paced ticking percussion (like a clock) mixed with light marimba. The tempo should slightly increase as the timer gets low to induce stress. * **Sound Effects (SFX):** * **Tap/Select:** A dry, scratching "chalk on board" sound. * **Correct Answer:** A crisp, positive "Ding" or a teacher saying "Correct!". * **Wrong Answer:** A low-pitch "buzzer" or the sound of chalk snapping. * **Game Over:** A school bell ringing. ### 3. Gameplay Loop * **Core Mechanism:** Rapid-fire mental math. An equation appears in the center (e.g., "12 + 5 = ?"). Below it, 3 distinct number options appear. * **Math Logic:** * Start with simple Addition/Subtraction. * After 10 points, introduce Multiplication/Division. * Ensure answers are integers (no decimals). * **Timer System:** * Start with a **10-second countdown bar** (drawn in chalk style) at the top. * **Correct Answer:** +1 Score, +2 Seconds to the timer (capped at 15s). The old equation is "erased" (fades out) and a new one appears immediately. * **Wrong Answer:** -3 Seconds penalty (instant feedback). * **Lose Condition:** When the timer reaches 0, the screen freezes, displaying "Time's Up!" and the final score. ### 4. Mobile Controls & Interaction * **Input Handling:** Use `Raycaster` for touch detection. The interaction model is **Single Tap**. * **Hit Areas:** The answer numbers must be large, distinct, and spaced apart to prevent mis-clicks. Ensure hit boxes are at least 15% of the screen width. * **Orientation:** * **Portrait Mode (Recommended):** Stack the Equation on top and the 3 options in a grid or column below for easy thumb reach. * **Landscape Mode:** Equation on left, options on right. * **Feedback:** * **Visual:** When tapped, the number should scale up slightly (bounce animation). * **Haptic:** Trigger `navigator.vibrate(50)` on correct answer and `navigator.vibrate([100, 50, 100])` (double pulse) on wrong answer/game over. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Arithmetica

Arithmetica is a fast-paced mathematical puzzle game designed to test and improve your arithmetic skills. This engaging brain training game combines the excitement of racing against time with the educational value of solving math problems. Players must quickly identify correct answers to mathematical equations, making it an excellent tool for students, professionals, and anyone looking to sharpen their mental calculation abilities.

The game features a unique time-extension mechanic where each correct answer adds precious seconds to your timer, creating an addictive gameplay loop that keeps you engaged while learning.

Core Features

Time-Pressure Challenge System

Arithmetica's innovative timer system creates urgency and excitement. Every correct answer you provide quickly will add time to your countdown clock, while hesitation or wrong answers bring you closer to game over. This mechanic encourages rapid thinking and helps develop automatic recall of basic mathematical facts.

Comprehensive Math Operations

The game covers all fundamental arithmetic operations including: - Addition : Quick mental addition challenges - Subtraction : Fast subtraction problem solving - Multiplication : Rapid multiplication table practice - Division : Instant division calculation exercises

Progressive Difficulty

As you advance through the game, mathematical problems become more complex, ensuring continuous challenge and learning progression. The difficulty scales naturally based on your performance, keeping the game accessible yet challenging.

Daily Brain Training

Regular play of Arithmetica serves as excellent daily brain exercise. The game is specifically designed to improve: - Mental calculation speed - Number recognition accuracy - Problem-solving under pressure - Mathematical confidence - Cognitive flexibility

Gameplay Mechanics

Arithmetica presents mathematical equations on your screen with multiple choice answers. Your task is to identify and click or tap the correct solution as quickly as possible. The faster you respond correctly, the more time bonus you receive.

Scoring System

Your score depends on: - Speed of response : Faster answers earn higher points - Accuracy rate : Consecutive correct answers multiply your score - Time remaining : Bonus points for efficient time management - Total questions solved : Overall performance tracking

Operation Guide

Basic Controls

  • Mouse Click : Click on the correct answer choice on desktop
  • Touch/Tap : Tap the right answer on mobile devices
  • Number Keys : Use keyboard numbers 1-4 for quick selection (desktop)

Winning Strategy

  • Start with easier problems to build momentum and time buffer
  • Recognize patterns in multiplication tables and addition facts
  • Use mental math shortcuts for faster calculation
  • Stay calm under pressure to avoid careless mistakes
  • Practice regularly to improve automatic recall

Game Objectives

  • Solve as many math problems as possible before time runs out
  • Achieve personal best scores through consistent practice
  • Improve mental calculation speed and accuracy
  • Build confidence in mathematical problem-solving

Why Play Arithmetica?

Educational Benefits

Arithmetica offers significant educational value beyond entertainment. Regular gameplay helps students and adults alike maintain and improve their mathematical fluency. The game serves as an excellent supplement to traditional math education, providing immediate feedback and motivation through gamification.

Cognitive Enhancement

Math games like Arithmetica have been shown to improve working memory, processing speed, and cognitive flexibility. The time pressure element specifically helps develop quick decision-making skills that transfer to academic and professional environments.

Accessibility and Convenience

As a free online browser game, Arithmetica is accessible anywhere, anytime. Whether you have five minutes between meetings or want a longer brain training session, the game adapts to your available time. No downloads, installations, or subscriptions required.

Universal Appeal

Suitable for players of all ages, from elementary students learning basic facts to adults wanting to maintain mental sharpness. The progressive difficulty ensures appropriate challenge levels for different skill levels.

Stress-Free Learning Environment

Unlike classroom settings, Arithmetica provides a judgment-free space to practice math skills. Mistakes are learning opportunities rather than sources of embarrassment, encouraging experimentation and growth.

Perfect for Daily Practice

Incorporating Arithmetica into your daily routine can significantly impact your mathematical confidence and speed. Even short 5-10 minute sessions can help maintain and improve computational fluency. The game's engaging format makes what could be tedious drill practice into an enjoyable challenge that you'll actually want to repeat.

Frequently Asked Questions (FAQ)