This project is a simple simulation using Pygame that demonstrates basic car control with speed and steering angle adjustments.
- Speed Control: Accelerate or decelerate the car using the UP and DOWN arrows or 'W' and 'S' keys.
- Steering Control: Steer the car left or right using the LEFT and RIGHT arrows or 'A' and 'D' keys.
- Display Updates: Shows the current speed and steering angle in the console.
- Python 3.x
- Pygame
-
Clone the repository:
https://github.com/prakash-kannaiah/Pygame_CarController.git
-
Navigate to the project directory:
cd Pygame_CarController -
Install the required Python package:
pip install pygame
Run the main script using Python:
python CarController.pyThe window will display, and you can control the car using the arrow keys or 'W', 'A', 'S', 'D'.