Inspiration

I have always enjoyed playing math games and car racing games. Combining the two seemed like a fun idea, and it gave me an opportunity to challenge players to use analytic thinking while dodging obstacles on the road. This fusion of two distinct genres inspired me to create '9ja Math Game', and I hope players find it both entertaining and engaging.

What it does

9ja Math Ride is a simple 2D game that is designed to help users improve their mental math skills while having fun. The game features a car racing theme, where players must control a car and avoid oncoming obstacles, such as other cars, while also collecting math operators to reach a target number.

The player must use their analytic and mathematical skills to quickly determine the correct operator needed to reach the target number and collect it before the time runs out or they crash into an obstacle.

How we built it

To build 9ja Math Ride, we used Pygame, which is a set of Python modules designed for writing video games. The game was built with Python 3. In the game, the player controls a car using the arrow keys to move left and right. The car moves across a scrolling background that simulates a road. The goal is to collect math operators that appear on the screen and use them to reach the target number before time runs out.

To create the game assets, we used graphics software such as Adobe Photoshop to design and create the game sprites, including the car, road, background, and math operators. We also used sound effects and background music to enhance the gaming experience.

In terms of coding, we defined classes for the car, road, math operators, and other game objects. We used Pygame's built-in collision detection functions to handle collisions between objects. We also implemented a scoring system, a timer, and a game over screen.

Challenges we ran into

Accomplishments that we're proud of

What we learned

What's next for 9ja Math Game

Built With

Share this project:

Updates