Runner Game is a Python-based game that utilizes the pygame package to create an entertaining gaming experience.
Main Page
Play Page
Menu Page
-
Clone the Repository
git clone https://github.com/S-CW/pygame-runner.git
-
Install Dependencies Install the required dependencies from the requirements.txt file using pip.
pip install -r requirements.txt
-
Run the Game To start the game, open a terminal and run the following command:
python runner.py
-
Press P to open setting menu
-
Press M ingame to mute/unmute
-
Press ⬆️ or SPACE to jump
-
Press ⬅️ or A to move left
-
Press ➡️ or D to move right
- spawn_rate_type: A list of monster type that control the spawn rate of monster type. As of now only two monster type is available: bird, snail.
Usage
['fly', 'snail', 'snail', 'snail']
- Obstacle.acceleration: Control the acceleration speed of obstacle over time.
Here are some planned enhancements for future development:
- Adjustable Background Music Volume Allow users to adjust the volume of the game to their preference.
- Progressive Difficulty Implement a feature where the game's speed gradually increases as the player's score goes up, making the game more challenging over time.
- Additional Scoring Opportunities
- Added a feature just for fun. Play and reach score 50 to reach meme phase