maddy1997 / Chrome-T-Rex-Rush

AI playing Chrome's TRex game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

AI playing Chrome's TRex game.

License:MIT License


Languages

Language:Python 100.0%