AI agent playing the popular T-Rex game.
A recreated version of the famous Chrome T-Rex in Python, played by a AI agent. Built using genetic algorithms (neuroevolution).
Built using pygame library
First Release, version 1.0
Windows/Linux
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.
- Press space to start.
- Press space while training to save the best player.
- 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