This blog post documents my latest project from Codecademy's Computer Science Course: a Python terminal-based quiz game. The final stage involved writing this accompanying blog post.
The game itself is quite straightforward, employing two classes: Question
and GameManager
. A list of Question
objects, defined in questions.py
, is loaded into a GameManager
instance to run the game.
The game's code is available on GitHub: https://github.com/CyanWater/Python-Terminal-Game.git The main entry point is main.py
.
One area for improvement is the exact answer matching requirement. This leads to some instances where a correct answer is marked as incorrect due to minor variations in spelling or capitalization. Future iterations will address this limitation, perhaps by incorporating case-insensitive comparisons or fuzzy matching techniques.
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3