"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Programming > Python terminal game project development guide

Python terminal game project development guide

Posted on 2025-04-21
Browse:876

Portfolio Project - Python Terminal Game

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.

Latest tutorial More>

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