StrinGame is a maze-solving game developed purely in Python using the Pygame library. Unlike traditional maze games, StrinGame incorporates a unique mechanic where players are given a brief glimpse of the maze layout before the lights go out. Players must then navigate through the dark maze by entering directional commands (WASD) to move their character. Once the player submits their input, the lights turn back on, revealing their progress and the surroundings.
- Dynamic Maze Generation: Utilizes Depth-First Search (DFS) algorithm to create random maze layouts for each gameplay session.
- Unique Gameplay Mechanic: Players must navigate through the dark maze using only directional commands.
- Customizable Difficulty: Adjustable parameters allow for tweaking the maze complexity and duration of light exposure.
- Purely Pure Python Implementation: Developed entirely using Python libraries, without the need for image or audio files.
-
Ensure you have Python 3 installed on your system.
-
Clone this repository to your local machine:
git clone https://github.com/yourusername/StrinGame.git
-
Install the required dependencies using pip:
pip install -r requirements.txt
-
Navigate to the directory where you cloned the repository.
-
Run the game by executing the following command:
python main.py
-
Follow the on-screen instructions to play the game. Use WASD keys to navigate through the maze when the lights are off.
Contributions are welcome! If you'd like to improve StrinGame or add new features, feel free to fork the repository and submit a pull request.
This project is licensed under the Creative Commons Attribution 4.0 International License. You are free to:
- Share: Copy and redistribute the material in any medium or format.
- Adapt: Remix, transform, and build upon the material for any purpose, even commercially.
Under the following terms:
- Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- Pygame library: https://www.pygame.org/
- Inspiration from classic maze-solving games.
For any inquiries or feedback, please contact [email protected].