Math adventure
Inspiration
Sometimes math can be boring to practice so I decided to make a game and a story to help people practice math.
What it does
It is a simple math game that generates random questions. It adds a story and a bit of action to make it more interesting to solve math problems.
How we built it
It was built using the random method that generates a random number based on the inputs. It was also built with many if statements to control the flow of the game. link
Challenges we ran into
A challenge was getting the functions to only run once at certain parts of the game. The solution to this problem was using helper variables to store the values that were needed.
Accomplishments that we're proud of
-Making the questions mostly random each time. -Not having any major bugs.
What we learned
-If statements are powerful tools that can change how a program works. -It takes time to debug a game.
What's next for Math Adventure
Maybe using ai to generate more difficult questions.
Built With
- code.org
Log in or sign up for Devpost to join the conversation.