- Calculator Minigames
- 18 Oct 2016 06:14:58 pm
- Last edited by StrawberryFrostedPopTart on 13 Nov 2016 04:54:45 pm; edited 2 times in total
This is a project I've worked on for about two weeks now. It's a simple game. You have five seconds to do something on the calculator, and if you don't get it, you lose. The game starts out with simple math problems, and gets progressively harder. The time never changes; it's always five seconds. The only thing that changes is the difficulty. It's mostly math problems, with the occasional trivia question thrown in.
The timer uses almost the exact same code as SecTimer. Within the timing loop, it checks for keyboard input, and stores your input into variable I. It then compares I to C, the correct answer. If the time ends, it treats it as a wrong answer. Your score is then stored into a highscore list. All answers are numerical, including trivia questions.
The questions are semi-randomized, picking from a list of ~10 every time. The maximum score possible right now is 20. Working on more questions.
The timer uses almost the exact same code as SecTimer. Within the timing loop, it checks for keyboard input, and stores your input into variable I. It then compares I to C, the correct answer. If the time ends, it treats it as a wrong answer. Your score is then stored into a highscore list. All answers are numerical, including trivia questions.
The questions are semi-randomized, picking from a list of ~10 every time. The maximum score possible right now is 20. Working on more questions.