https://github.com/mukuliskul/runner-game
Developing this game was my first big attempt at game development and OOP in Python, learning valuable skills in implementing game mechanics, graphics rendering, collision detection, and user input handling.
https://github.com/mukuliskul/runner-game
collision-detection game-development oop pygame user-input-handling
Last synced: about 1 month ago
JSON representation
Developing this game was my first big attempt at game development and OOP in Python, learning valuable skills in implementing game mechanics, graphics rendering, collision detection, and user input handling.
- Host: GitHub
- URL: https://github.com/mukuliskul/runner-game
- Owner: mukuliskul
- License: mit
- Created: 2023-07-24T03:09:54.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-24T03:13:15.000Z (almost 2 years ago)
- Last Synced: 2025-04-14T13:14:50.260Z (about 1 month ago)
- Topics: collision-detection, game-development, oop, pygame, user-input-handling
- Language: Python
- Homepage:
- Size: 12.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Runner Game using Pygame and OOP

### Description
Developed a captivating Runner Game using Pygame library and OOP concepts. Gain expertise in implementing game mechanics, graphics rendering, collision detection, and user input handling.
### Learning Outcomes
- Mastered Pygame library for game development.
- Applied OOP principles for a structured and efficient codebase.
- Developed skills in graphics rendering, collision detection, and user input handling.### Skills
- Game Development
- Pygame
- Object-Oriented Programming (OOP)
- Graphics Rendering
- Collision Detection
- User Input Handling### How to Play
- Use the spacebar to make the player jump.
- Avoid colliding with obstacles to keep the game running.
- Collect points by surviving as long as possible.### Code Snippet
```python
# Insert a relevant code snippet from your project to showcase a key feature or functionality.
# For example:
def display_score():
# Function to display the player's score.def obstacle_movement(obstacle_list):
# Function to move obstacles across the screen.def collissions(player,obstacle):
# Function to check for collisions between the player and obstacles.def player_animation():
# Function to animate the player's movement.# The main game loop and other functions.
```### How to Run
1. Ensure you have Python and Pygame library installed.
2. Run the `main.py` file in your Python environment.
3. Use the spacebar to control the player's jump and avoid obstacles.