DEV Community

Roy Saunderson
Roy Saunderson

Posted on

Portfolio Project - Python Terminal Game

I am doing Codecademy's Computer Science Course and I am upto creating a Python Terminal Game and the last step is a blog post.

It is a very simple quiz game, it uses 2 classes, Question and GameManager. There is a list of Question objects defined in questions.py that then get loaded into a GameManager instance.

One of the downsides to it is the question has to match exactly so there are some instances where you do enter the right answer but it is seen as "incorrect".

"main.py" is the entry point to the game.

The code is hosted at https://github.com/CyanWater/Python-Terminal-Game.git

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more