Inspiration

The inspiration behind this interactive math game was creating a fun platform for users to practice math questions and have the ability to modify the game according to their skill level. By including different toggles, sliders, and buttons, the user is able to customise their own math game based on their preferences. This will not only keep the user interested in completing each question until the last level, but also enhance the students ability to practice more challenging math problems.

What it does

The Math Prism game designed for desktop users, challenges students to enhance their mathematical skills through a series of 13 questions. The math game starts at a range of adding numbers from 1 to 5. As the user becomes more confident in completing the questions, they are able to adjust the blue toggle on the bottom left to add larger numbers (eg. numbers 5 to 10). Students are able to add numbers all the way from 20 to 35 in Math Prism. While the toggle is being adjusted, the math game character also changes. The sliders and toggle on the side allow the user to change the background settings and customise the colour of the rectangular math question box for a better experience while playing the game. In addition, the name textbox allows the student to input the name of their character which is displayed throughout the game. Once all 13 questions are completed, the user is congratulated with confetti and has the option to restart.

How I built it

Beginning with the backend development, I used Processing and a Java based GUI library to display each button, toggle, slider, and textbox. Multiple procedures were used throughout the program to keep track of the users progress throughout the game and allow the user to customise different design features. When generating different math problems I used a random selection of numbers from 1-5 depending on the value of the toggle, the range of numbers then increased as the value of the toggle increased. If the answer which was input by the user was correct, they would be able to move on to the next question. If not, the user would need to redo the math problem again.

Challenges I ran into

The challenges which were encountered while building this game was having an inefficient amount of code to program the buttons and procedures which could have been reduced and simplified. In addition, one of the major challenges which I was able to overcome was the placement of my procedures in the program. When I added another procedure to the program, there would be errors that occured within a different procedure. This was a challenge which allowed me to learn about the importance of the order of procedures within my code.

Accomplishments that I'm proud of

Math Prism was one of my first projects where I was able to fully develop and enhance my programming skills through a math game. Being able to execute an idea which was definitely challenging at first, but ultimately worked out in the end had been rewarding to experience. Overall, I look forward to taking the challenges from this project forward, and gaining more experience through other opportunities.

Built With

Share this project:

Updates