What are Text Based Adventure Games: The Perfect Beginner Python Project
Whether you are a budding gamer, you are just getting started on your journey with the python programming language (like me) or you are just looking for a fun project to work on this festive season. Coding a text based adventure game could be perfect for you.
What is a text based adventure game?
Think of a normal video game, you know the things you play for hours on your PS5. Now think of them without all of the fancy (and hard to code on your own) graphics. And you’ve got yourself a text based adventure game. Well, sort of. Generally, you start off with a story. Then, the player types something into your program which will then print out another storyline, and so one. For example an output for your game might look something like this:
You come to a dark alleyway. Type Left to turn left, or type Right to turn right:
Say you decide to type Right, then the computer might show this:
You decided to go right, very interesting. You encounter a monster who gobbles you up. GAME OVER.
Okay, so maybe it won’t end up that dramatically that quickly, but you get the idea.
It’s basically a digital book where you can choose your own path. I probably could have…