Watch this dino learn how to survive through a genetic algorithm at the backend. The GA is supported by a neural network for representing the genomes. NN outputs the probability for jump,duck,and to do nothing. it takes distance to the nearest obstacle, speed of the tRex, and the height of the obstacle as the inputs.
- Clone the repository.
- Run python3 -r requirments.txt
- Download and install chrome driver
- Run python3 main.py
RELAX AND WATCH THE DINO LEARN