Skip to content

TylerMommsen/chrome-dino-game-ai

Repository files navigation

Google Chrome Dino AI (NEAT)

The offline Google chrome dino game with the NEAT (Neuroevolution of Augmenting Topologies) AI added to it.

Live Demo

View Live Site Here

Some shortcuts:

  • 1 - 1x Speed

  • 2 - 2x Speed

  • 3 - 5x Speed

  • 4 - 10x Speed

  • 5 - 30x Speed

  • n - Toggle neural network visualization

  • b - Toggle closest obstacle visualization

  • v - Toggle hitboxes visualization

Development

Follow these steps to run the project locally.

  1. Clone the repository (HTTPS)

    git clone https://github.com/TylerMommsen/chrome-dino-game-ai.git

  2. Navigate to the project

    cd chrome-dino-game-ai

  3. Open the project You can open the project by launching the index.html file or using a local server setup if required.

    If you're using VSCode, install the Live Server extension from the VSCode Marketplace, right click on the index.html file and select 'Open with Live Server'.