Simple 2D platform game created using Python and Pygame.
The project was developed as a learning exercise to practice object-oriented programming, game state management and modular architecture.
- Player movement (jumping, gravity, collisions)
- Enemies
- Platforms and ladders
- Score system (saved to file)
- Game states (menu, gameplay, game over)
- Sound effects
- Modular project structure
- Python 3
- Pygame
- Object-Oriented Programming (OOP)
main.py– entry point of the gameplayer.py– player logicenemy.py– enemy behaviorplatform.py– platform mechanicsladder.py– ladder mechanicsgame_state.py / game_states.py– state managementscore_manager.py– score systemsound.py– sound handlingsettings.py– configurationassets/– game graphics and sounds
- Install Python 3
- Install Pygame:
pip install pygame
python main.py