// GAMES
Me Against Traffic
A survival game where the player avoids incoming cars while their speed increases over time.
PythonPygame

Overview
Me Against Traffic is a simple survival game where the player moves a character sideways to avoid incoming cars. The game becomes more difficult as the speed of the cars increases.
Technical approach
The game was built with Pygame and focused on:
- Player movement and controls
- Collision detection
- Increasing game difficulty
- Background music and sound effects
Requirements
-
Python 3.x (https://www.python.org/downloads/)
-
Pygame 2 (required)
pip install pygame==2.0.0.dev2
How to run
- Clone or download the repository.
- Install the required Pygame version.
- Run the game with:
python3 game.py
Lessons learned
This project helped me learn the basics of Pygame, game loops, player movement, collision detection, and handling audio in a game.