Skip to content

A simple interactive text-based RPG game with a GUI built using Python and Tkinter. Navigate story paths, make decisions, and track health and score.

Notifications You must be signed in to change notification settings

andleebfama/Simple-Text-Based-RPG-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Simple Text-Based RPG Game (Python + Tkinter GUI)

A beginner-friendly text-based role-playing game (RPG) built in Python with a GUI interface using Tkinter. The player makes choices to progress through different scenes, with health and score tracking, and replayability.


Features

  • Multiple story paths and outcomes
  • Health and πŸ’― score system
  • Replay / Play Again functionality
  • Tkinter-based GUI
  • Clean separation of logic and interface (MVC-style)

Requirements

  • Python 3.x

File Structure


Simple-Text-Based-RPG-Game
β”œβ”€β”€ game\_logic.py    # Contains all story logic and game state
β”œβ”€β”€ gui.py           # Tkinter GUI for interacting with the game
β”œβ”€β”€ main.py          # Entry point to launch the game
└── README.md


How to Run the Game

  1. Clone the repository or Download ZIP.
  2. Open terminal/command prompt in the project directory.
  3. Run the following command:
python main.py

How to Play

  • Follow the on-screen story and instructions.
  • Type your choice (e.g., 1 or 2) in the input box.
  • Press Submit Choice to proceed.
  • Monitor your health and score in the GUI.
  • After the game ends, click Play Again to restart with full health and score.

About

A simple interactive text-based RPG game with a GUI built using Python and Tkinter. Navigate story paths, make decisions, and track health and score.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages