Inspiration
Going through the COVID-19 pandemic has been hard on everyone, especially young children who are trying to learn new skills but just aren't motivated. This is why our team created Math Dozen, a fun math game to encourage students from grades 1 to 6 to practice math skills and learn new ones!
What it does
This program asks the user a total of 12 math questions (2 from each of the 6 grades). If the user gets a question correct, the program states that the user's answer was correct. If the user answers incorrectly, the program displays the correct answer and an explanation as to how to correctly solve the question. After each level, the user has the option to continue playing or to end the game. If the user wishes to continue, the program displays their current progress, then proceeds. If not, the game terminates and displays the user's final score. The game officially ends after all 6 levels are completed.
How we built it
Our team used a database called CodeHS to program this game. We used JavaScript as our primary coding language. We incorporated multiple loops, iterations, arrays, conditional statements, randomizer functions, parameters, user input, and much more!
Challenges we ran into
Our team ran into quite a few challenges. For one, we could not display the entirety of the program's output to the user as it had a limited character capacity. Therefore, we researched and tried multiple techniques to try and solve this technical issue. We came up with an alternative solution: instead of implementing the "println" or "print" function, we used the "alert" function as it would only temporarily display the words rather than it displaying it permanently.
Accomplishments that we're proud of
We were incredibly proud of our end product as it was effective for its purposes, we worked long and hard for this dream to become a reality, and we persevered through it all, even in the short time given. For example, we were especially proud of the fact that each and every question, no matter how many times the user replayed the game, wouldn't have the same numbers, just the same concepts. Overall, we believe that we put our full potential and capabilities into this project and hope we reap the benefits that we sowed.
What we learned
We learned the importance of team work, effective communication, and essential JavaScript skills. This was a new experience for us all so we welcomed the challenge!
What's next for Math Dozen
We plan to turn this fun and innovative game into a mobile app for all players as it would be more easily accessible and user-friendly for all. In addition, we would also like to expand this program and create more games to incorporate other subjects and concepts, as well.
Built With
- codehs
- javascript
Log in or sign up for Devpost to join the conversation.