You are Alex, a curious adventurer who has ventured into the Ancient Labyrinth, a mysterious maze said to be filled with treasure and secrets. However, the maze is not just a place of riches – it's also a place of danger, with twisting corridors, hidden traps, and locked doors.
The only way out is through the Golden Door – but it is locked. To escape the maze, you must collect 3 Lost Keys hidden throughout the maze. Each key unlocks a new part of the labyrinth, and ultimately, the Golden Door will open, allowing you to escape.
As you navigate the maze, you will face:
- Dangerous traps that can hurt you if you're not careful
- Locked doors that require keys to open
- Hidden secrets that will help you on your journey
Will you find all the keys and escape the maze, or will you get lost forever?
Here is an 8 image Storyboard to illustrate a desired direction and end results for our game. This image is a placeholder and will be updated as the project proceeds.
This guide will help you set up your development environment to run and contribute to "Shadows of the Golden Door".
Before you begin, you'll need to have Python 3.x installed on your system.
- Visit the official Python website: python.org/downloads
- Download the latest Python 3.x installer for Windows
- Run the installer
- Important: Check the box "Add Python to PATH" during installation
- Click "Install Now"
- Verify the installation by opening Command Prompt and typing:
You should see something like
python --version
Python 3.11.x
-
Option A: Using the Official Installer
- Visit python.org/downloads
- Download the latest Python 3.x installer for macOS
- Run the
.pkgfile and follow the installation wizard
-
Option B: Using Homebrew (Recommended)
- If you have Homebrew installed, open Terminal and run:
brew install python3
- If you have Homebrew installed, open Terminal and run:
-
Verify the installation:
python3 --version
You should see something like
Python 3.11.x
Most Linux distributions come with Python pre-installed. If not:
Ubuntu/Debian:
sudo apt update
sudo apt install python3 python3-pipFedora:
sudo dnf install python3 python3-pipArch Linux:
sudo pacman -S python python-pipVerify the installation:
python3 --versionOnce Python is installed, you can install Pygame using pip (Python's package manager).
Open your terminal or command prompt and run:
pip install pygameFor macOS/Linux users, you might need to use pip3:
pip3 install pygameTest that Pygame is installed correctly by running the built-in aliens example:
python -m pygame.examples.aliensIf a game window opens with aliens, Pygame is installed correctly!
A virtual environment keeps your project dependencies isolated from other Python projects.
Windows:
# Navigate to your project directory
cd path\to\ShadowsOfTheGoldenDoor
# Create virtual environment
python -m venv venvmacOS/Linux:
# Navigate to your project directory
cd path/to/ShadowsOfTheGoldenDoor
# Create virtual environment
python3 -m venv venvWindows:
venv\Scripts\activatemacOS/Linux:
source venv/bin/activateWhen activated, you should see (venv) at the beginning of your command prompt.
With the virtual environment activated, install Pygame:
pip install pygameWhen you're done working on the project:
deactivateLet's make sure everything is working correctly!
If you haven't already:
git clone https://github.com/bijiyiqi2017/ShadowsOfTheGoldenDoor.git
cd ShadowsOfTheGoldenDoor- Activate your virtual environment (if using one)
- Run the game:
python main.pyIf a game window opens with the title "Shadows of the Golden Door", congratulations! Your setup is complete!
- Python wasn't added to PATH during installation
- Reinstall Python and check "Add Python to PATH"
- Or manually add Python to your system's PATH environment variable
- Try using
python -m pipinstead of justpip - On macOS/Linux, try
pip3instead ofpip
- Make sure you have the latest pip:
pip install --upgrade pip - On Linux, you might need additional dependencies:
sudo apt-get install python3-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev
- Use
pip3 install --user pygameto install for your user only - Or use a virtual environment (recommended)
This leaderboard highlights contributors based on the number of merged pull requests and their contributions to the project.
| Rank | Contributor | Merged PRs | Notes |
|---|---|---|---|
| 1 | @HirulaAbesignha | 6 | Enhanced Game Experience, Maze Layout, Title Screen, Setup Guide, etc. |
| 2 | @shanaya-Gupta | 1 | Basic Player Movement |
| 3 | @adnan-47 | 1 | Setup Guide Documentation |
Now that your environment is set up, you're ready to contribute! Check out our Issues page for tasks you can help with.
- Fork this repository
- Clone your fork
- Create a new branch:
git checkout -b feature/your-feature-name - Make your changes
- Commit:
git commit -m "feat: description of your changes" - Push:
git push origin feature/your-feature-name - Open a Pull Request
Good luck on your adventure through the Ancient Labyrinth!
