Skip to content

Latest commit

 

History

History
executable file
·
40 lines (30 loc) · 1.4 KB

README.md

File metadata and controls

executable file
·
40 lines (30 loc) · 1.4 KB

T-Rex Rush

AI agent playing the popular T-Rex game.

Description:

A recreated version of the famous Chrome T-Rex in Python, played by a AI agent. Built using genetic algorithms (neuroevolution).

Technology:

Built using pygame library

Version and Release:

First Release, version 1.0

Target Platforms:

Windows/Linux

Instructions and Prerequisites:

To run this game:

  • Make sure you have Python installed alongwith pygame (http://www.pygame.org/) library
  • Also install numpy (http://www.numpy.org/) library.
  • Run train.py to train the players.
  • Run playbest.py to play the best one saved.
Controls:
  • Press space to start.
  • Press space while training to save the best player.

Credits:

References: