Skip to content

HershelT/TerminalDungeon

Repository files navigation

Natural Language Processing Terminal Game 🎮

2D display game with no graphical package. Everything is created by me for your benefit.

Table of Contents

  1. Python Installation Guide
  2. Note
  3. To Download
  4. Pictures

Python Installation Guide

This guide will help you install Python on your computer using the terminal.

For Windows:

  1. Download the Python installer from the official website: Python Downloads

  2. Open your terminal (Command Prompt) and navigate to the directory where the installer is downloaded. You can use the cd command to change directories.

  3. Run the installer with the following command: start python-installer.exe

  4. Follow the instructions in the installer. Make sure to check the box that says "Add Python to PATH" before you click "Install Now".

For MacOS:

  1. Open Terminal.

  2. Check if Python is already installed by typing python --version. If Python 2.7.x or older is installed, you should still install Python 3.

  3. Install Homebrew (if not already installed) by typing /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

  4. Once Homebrew is installed, type brew install python3

For Linux:

  1. Open Terminal.

  2. Check if Python is already installed by typing python3 --version.

  3. If Python 3 is not installed, you can install it by typing sudo apt-get install python3 on Debian-based distributions or sudo yum install python3 on RHEL-based distributions.

After installation, you can verify the installation by typing python --version (Windows, MacOS) or python3 --version (Linux) in the terminal.

Note:

The commands and steps might slightly vary based on the OS version and the system settings. Always refer to the official Python documentation or your OS documentation for the most accurate information.

To Download: 📥

  1. Go to Green Code Box on Top of the Page

  2. Press 'Download Zip'

  3. Open zip in folder and extract all

  4. Right click terminal-dungeon folder

  5. Press copy

  6. Go to bash or terminal depending on computer

  7. Type cd then right click on same line cd is on to paste. Should look something like cd user/path/to-folder

  8. Press enter

  9. Type pip3 install -r requirements.txt

  10. Make sure terminal size is full screen

  11. Lastly, type python3 adventureGame.py

Pictures 📸

Graphics

image

Mining/Building

image image image

Combat

image