Skip to content

This is a simple text-based adventure game written in Python. It’s a basic interactive game where players make choices to find a treasure.

Notifications You must be signed in to change notification settings

RahemShakeel/Treasure-Island-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Treasure-Island-Game-Python-

This is a simple text-based adventure game written in Python. It’s a basic interactive game where players make choices to find a treasure.

How to Play

  1. Start the game: Run the Python script.
  2. Make choices: Follow the prompts to choose directions and actions.
  3. Find the treasure: Choose wisely to win!

Code

The game is implemented in Python. Here’s a brief overview of the game flow:

  • Choose between 'left' or 'right' at a crossroad.
  • At the lake, decide to 'wait' for a boat or 'swim' across.
  • On the island, choose between a red, yellow, or blue door to find the treasure or face a game over.

Background

Creating projects can be a great way to learn a programming language. I created this game when I was learning Python. This game helped me understand control flow statements, string methods and boolean logic.

About

This is a simple text-based adventure game written in Python. It’s a basic interactive game where players make choices to find a treasure.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages