My original idea (side scroller animal game) is out of my skill level, and also, I don’t think it will fill all requirements. Instead, I will make a guesser quiz. The quiz will give an animal based question and four possible answers, the player must choose the correct answer then continue to the next question.
Requirement | Application in Code |
---|---|
One list (or other collection type) | List of animal questions and answers |
One procedure | Function to generate new questions after answering |
Algorithm that includes sequencing, selection, and iteration | Function to determine if answer is correct |
Calls to student developed procedure | calls to different procedures within procedures such as nextQuestion from a gameStart function |
User Input | Answers given for each question |
Instructions for output | Shows if submitted answer is correct or wrong |
Formatting is messed up, style is odd
Need to re-implement index to keep navbar on top, improved general looks
code is working, need to develop list of questions and answers to create actual quiz now; still need to add navbar