Skip to content

prakash-kannaiah/Pygame_CarController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Pygame_CarController

This project is a simple simulation using Pygame that demonstrates basic car control with speed and steering angle adjustments.

Features

  • 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.

Requirements

  • Python 3.x
  • Pygame

Installation

  1. Clone the repository:

    https://github.com/prakash-kannaiah/Pygame_CarController.git
  2. Navigate to the project directory:

    cd Pygame_CarController
  3. Install the required Python package:

    pip install pygame

Usage

Run the main script using Python:

python CarController.py

The window will display, and you can control the car using the arrow keys or 'W', 'A', 'S', 'D'.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages