Immodal / snake

This project uses Q-Learning, Hamiltonian Cycles and Breadth First Search to play Snake. Mazes can also be drawn for the snake to navigate through.

Home Page:https://immodal.github.io/snake/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snake

This project uses Q-Learning, Hamiltonian Cycles (2016, Alhalabi et al) and Breadth First Search to play Snake. Mazes can also be drawn for the snake to navigate through.

The app can be found here: https://immodal.github.io/snake/

hamiltonian cycle

Figure 1: Hamiltonian Cycle

Q-Learning

Figure 2: Q-Learning with policy arrows enabled

maze

Figure 3: Snake navigating custom maze

About

This project uses Q-Learning, Hamiltonian Cycles and Breadth First Search to play Snake. Mazes can also be drawn for the snake to navigate through.

https://immodal.github.io/snake/

License:MIT License


Languages

Language:JavaScript 95.7%Language:HTML 4.3%Language:CSS 0.1%