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:
- Sprites : https://chromedino.com/assets/offline-sprite-2x-black.png
- Logo : https://textcraft.net/
- Speech Bubble : http://pixelspeechbubble.com/
- Sounds : https://github.com/vicboma1/T-Rex-Game/tree/master/Unity/Sounds