In this series of liveProjects, you’ll build fun and entertaining minigames in Python. Stepping into the shoes of a new hire at a videogames company, you’ll work through five increasingly complex game projects that run on the command line. Not only will you create exciting projects to play with your friends, you’ll also get hands-on experience in professional software development. These projects are particularly relevant for those interested in a career in data science, as you’ll practice using Jupyter notebooks, pandas DataFrames, NumPy arrays, and more.
Game development instruction seems to be all about lighting and shading tutorials, but there's a wealth of basic coding skills that can best be taught through games.
In this liveProject, you’ll use Python to create a command-line version of the classic guessing game 20 Questions. In your version of the game, the computer will have up to twenty chances to guess what animal the player is thinking of. You’ll use Jupyter notebooks to code your program and define functions that build a knowledge base in real time. Then, you’ll test and debug your code by playing against the computer.
In this liveProject, you’ll use Python to build a nonogram puzzle generator that creates a printable puzzle pack from the command line. Nonograms are puzzles that reveal an image on a grid, based on numbers along the grid’s edge. Most programmatic implementations solve nonograms, but yours will generate them. To do this, you’ll code your script, relying on two essential data structures: the pandas DataFrame and the NumPy array. You’ll also experiment with image libraries including Pillow and pixelate, and gain a better understanding of basic image processing concepts.
In this liveProject, you’ll use Python to build a command-line game that produces a cryptogram to decode. You’ll build a simple web scraper to pull data from a quotation website, then generate an encoded puzzle for the player to decipher. You’ll interact with a web server to create your game, using the Python library BeautifulSoup.
In this liveProject, you’ll build a two-player version of the card game Slap that can be played from the command line. To code this game, you’ll use algorithms, object-oriented programming concepts, and event listeners. You’ll gain hands-on experience importing modules, creating classes, defining methods, and using other principles of object-oriented programming.
In this liveProject, you’ll use Python to build a simple text-based escape room game to help enhance the experience of a real-world escape game. This project involves following all the steps in a software development process, from reviewing your client’s given requirements, to designing, building, and testing your code. You’ll gain experience operating within a set of requirements and refactoring your code to optimize class definitions, tighten up functions, and make sure it’s Pythonic!
This liveProject is for intermediate-level Python practitioners who are comfortable with the basics of Python, object-oriented programming, and the general stages of the software development process. You’ll need a strong understanding of how a program is structured and the patience to tweak and test your code until it achieves the desired functionality.
In this series of liveProjects, you’ll learn important skills for developing software and building command-line scripts with Python. These are real-world software development skills that can be scaled up for professional projects.
geekle is based on a wordle clone.