Skip to content

Latest commit

 

History

History
62 lines (37 loc) · 2.42 KB

README.md

File metadata and controls

62 lines (37 loc) · 2.42 KB

StrinGame

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.

Features

  • 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.

Installation

  1. Ensure you have Python 3 installed on your system.

  2. Clone this repository to your local machine:

    git clone https://github.com/yourusername/StrinGame.git
  3. Install the required dependencies using pip:

    pip install -r requirements.txt

Usage

  1. Navigate to the directory where you cloned the repository.

  2. Run the game by executing the following command:

    python main.py
  3. Follow the on-screen instructions to play the game. Use WASD keys to navigate through the maze when the lights are off.

Contributing

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.

License

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.

Acknowledgements

Contact

For any inquiries or feedback, please contact [email protected].