← math-ninja

How to play

## How to Play

1. Choose a game mode: Addition, Subtraction, Multiplication, or Mixed Math.
2. Read the math question displayed at the top of the screen.
3. Watch the fruits appear with different numbers on them.
4. Find the fruit with the correct answer and swipe or tap it to slice it.
5. Earn 10 points for every correct answer, with extra points for quick answers and combos.
6. Avoid slicing fruits with incorrect answers. Wrong answers will cost you one life.
7. Don't let the correct answer fruit fall off the screen, or you will lose one life.
8. Collect helpful power-ups:
- **Slow Time (⏳):** Slows down all fruits for about 5 seconds.
- **Extra Life (❤️):** Restores one life.
9. Answer correctly 5 times to advance to the next level. Progress through 10 challenging levels.
10. Complete the game to view your accuracy, average answer time, and questions you need to practise.
11. Try different math modes and compete for the highest score on each mode's leaderboard.

## Controls

- **Mouse:** Click and drag across the correct fruit to slice it.
- **Touch:** Swipe across the correct fruit to slice it.
- **Tap:** Tap the correct fruit for easy play.
- **Keyboard:** Type the correct answer using number keys and press **Enter** to slice the matching fruit.
- **Pause Button:** Pause the game.
- **Esc:** Pause the game.
- **Switch Tab:** The game automatically pauses when you move to another browser tab.