Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 2.87 KB

README.md

File metadata and controls

44 lines (31 loc) · 2.87 KB

Mental-Maths-Game

A platformer-style game intended to assist students in secondary school with developing their mental maths skills. Drive your bike or car through the levels, collecting all the coins as you go along and answering all the questions as quick as you can. Chose an appropriate difficulty for questions, rank up in the leaderboard and see if you can improve your statistics.

An A Level project that was developed over the course of 6 months completely from scratch. Built using Python and the pygame engine and Tiled with pytmx to create and run the graphical maps. Simple management of the questions using the "question.csv" spreadsheet, and has permanent storage of the leaderboard and statistics data using pickle object structures.


Documentation

As part of my A Level coursework, I wrote up a detailed documentation of this project, outlining all stages of development including requirements, design, iterative development, testing, evaluation and maintenance. The 248 page, 90,000 word documentation can be found here 👉 Krishan-Sritharar-Computer-Science-Coursework


Features

  • Custom platformer style levels with an interactive character
  • Question boxes ❔ scattered across the map, asking a time-based question when touched
  • Coins 💰 to collect in each level and improve your score
  • Shop 🛒 allowing different vehicles to be selected
  • Leaderboard 💯 to compare and display your scores with your friends
  • Statistics 📊 to learn about your progress whilst playing the game
  • Optional and selectable soundtrack 🎵 to be played during the levels
  • Nice graphics in the menu and levels to complement the game
  • Awesome animations to liven up the coins and question boxes

coin question


How to run

  1. Clone the repository locally
  2. Install any version of Python 🐍 you like
  3. Install the following dependencies using pip
    • pygame
    • pymtx
  4. Run "python main.py"
  5. Add new question by editing "questions.csv"
  6. Enjoy the game 😃

Images of the game

car truck question hardQuestion menu levelSelect settings shop stats leaderboard1 leaderboard2 pause