A clean, responsive, and lightweight arithmetic quiz game built with modern Vanilla JavaScript. Test your mental math skills against the clock with varying difficulty levels.
-
Minimalist Design: A distraction-free UI built with CSS Flexbox and modern variables for easy theming.
-
5 Difficulty Levels: Ranges from "Very Easy" (single digits) to "Expert" (complex mixed operations).
-
Keyboard Support: Fully accessible via physical keyboard (Numpad, Backspace, Enter).
-
Quick Mode: Option to auto-submit answers as soon as they match the target.
- Select a Difficulty Level from the main menu.
- (Optional) Toggle Quick Mode on or off.
- Solve the math problem displayed on the screen.
- Enter your answer using the on-screen Numpad or your Keyboard.
- Beat the timer (20 seconds per question)!
No build step or installation is required. This project runs entirely in the browser.
-
Clone the repository: git clone https://github.com/VectorStatic/Math-Quiz-Game.git
-
Open the Game: Simply double-click index.html to open it in your web browser.
Math-Quiz-Game/
├── index.html # Main game structure
├── style.css # Styling, themes, and responsiveness
├── script.js # Game logic (Class-based architecture)
└── README.md # Documentation
-
This project is ready for GitHub Pages.
-
Go to your repository Settings.
-
Click on "Pages" in the sidebar.
-
Select
mainbranch as the source.
Your game will be live at https://your-username.github.io/Math-Quiz-Game/.