π― Solving Puzzles with Code: A Math Adventure Game Built with Amazon Q CLI
Publish Date: May 28
16 0
Math Adventure: An Interactive Educational Math Game for Grades 1-5
Math Adventure is a dynamic, grade-progressive educational game that helps students practice math operations through an engaging interactive interface. The game adapts to student performance, automatically advancing through grade levels as players demonstrate mastery of mathematical concepts.
The game features a carefully designed difficulty progression system that introduces new mathematical operations and larger numbers as students advance through grades 1-5. Starting with simple addition and subtraction with numbers up to 10, it gradually incorporates multiplication and division with larger numbers up to 200. The game provides immediate feedback, tracks lives and scores, and includes visual rewards for correct answers and level progression.
math-adventure/
βββ requirements.txt # Python package dependencies (pygame, pytest)
βββ src/
β βββ game.py # Core game logic, UI, and game state management
β βββ levels.py # Math problem generation and difficulty scaling
β βββ main.py # Application entry point and pygame initialization
βββ tests/ # Test suite directory
βββ test_game.py # Game mechanics and UI tests
βββ test_levels.py # Math problem generation tests
Usage Instructions
Prerequisites
Python 3.6 or higher
pip (Python package installer)
Installation
Clone the repository:
git clone https://github.com/mohamednizzad/mathsadventure.git
cd math-adventure