Py-Hero

A very simple text based RPG coded entirely in Python (first Python project). Carefully choose which path to take in an adventure to rescue the princess...the route you choose will determine your fate, as you encounter tough enemies.

Getting Started

These instructions will get you a copy of the project up and running on your local machine to load and enjoy.

Prerequisites

You'll need the following to run the game: python (2.7 or above)

Installing

You can either clone the repo or simply download to a specified directory.

Running Py-Hero from the Terminal

Navigate into the directory you unzipped the repo in:

cd < directory-name >

Type the following command to run the game:

python hero-game.py

Modules Used

  • random
  • subprocess
  • time

Skills Aquired

  • Dictionaries
  • Classes
  • Functions

Acknowledgments

  • Hat tip to ASCII-CODE.com which helped bring this game to life with the amazing art.