Skip to content

A generation learning simulation trained to find the optimal path around a track. Users can also hop in and try to compete in a variety of difficulty levels.

Notifications You must be signed in to change notification settings

MichaelBenliyan/Racing_Game_With_NEAT_AI

Repository files navigation

Racing Game Against Trained AI

This is a car racing game against an AI trained using the NEAT module in Python.

Press "Open in Gitpod" button below to play!

Instructions

  • ARROW-UP: Move forward
  • ARROW-LEFT: Turn left
  • ARROW-RIGHT: Turn right
  • ARROW-DOWN: Move Backward

Chose a difficulty and start the game. Each difficulty has 5 levels where the cars will get progressively faster. Beat the AI to move on to the next level.

TIP: Drag down the terminal under the game to make the game larger.

Machine Learning Simulator

To see the Machine Learning Simulator in action:

  1. Close the Racing Game window in the Gitpod browser.
  2. Type "python Machine_Learning_Sim/main.py" in the terminal under the Gitpod browser without the quotation marks.
  3. Press enter

Run in Gitpod

You can also run my Racing Game in Gitpod, a free online dev environment for GitHub:

Open in Gitpod

Run in Gitpod

MachineLearning v2

About

A generation learning simulation trained to find the optimal path around a track. Users can also hop in and try to compete in a variety of difficulty levels.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages