As part of the class An Introduction to Interactive Programming in Python (Part 2), I was tasked with creating several games. Each game demonstrates the fundamentals of OOP in Python and leverages the core elements of Python from conditionals and iterators to arrays and dictionaries. The class used a web-based IDE called Codeskulptor that was developed for the class. I’ve provided links directly to Codeskulptor because it allows you to run the programs if you like (play button is in the top left).
Note that, at the time, the class was taught in Python 2. I’ve since switched to Python 3 when developing scripts for work projects.
Blackjack Game in Python
http://www.codeskulptor.org/#user46_hTi0SBn8eZvwnHM.py
Asteroids Game in Python