Skip to content

2D car game in C++, where you can play against a genetic algorithm

License

Notifications You must be signed in to change notification settings

swordey/2DCarGameWithGA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D Car Game With Genetic Algorithm

This is a 2D Car Game written C++ with Qt.

The game is a topview game, where you have to go through a generated car track, and collect 100 rewards through reward gates. You can play alone, or against a learning genetic algorithm. Find out who learns the track faster. You can visualize only the genetic algorithm either.

Fun facts

  • You can hide the track, and try to go through it by only using a lidar
  • You can visualize the reward gates, that gives the points

How to try

The git repository contains a prebuilt executable for windows. To test it:

  • Download the bin.zip folder
  • Unzip the bin.zip folder
  • Start bin/2DCarGame.exe
  • Click on "Show only AI"

INFO: If it does not work, install bin/vc_redist.X64.exe

Built With

  • Qt Creator - IDE used
  • Qt - User interface
  • cmake - Built with cmake
  • windeployqt - Windows Deployment Tool

Authors

  • Kardos Tamás - Initial work - Swordy

About

2D car game in C++, where you can play against a genetic algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published