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)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay