Skip to content

Implemented algorithms that can play game Snake.

Notifications You must be signed in to change notification settings

amansinh79/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

SnakeAI

You Can play on your own(using WASD) or let ai play it using pathfinding or hamiltonian cycle. you can use pathfinding with BFS or A* algorithms (i didn't see it winning till now) or you can use hamiltonian cycle. Everytime you start the game it generates cycle using DFS.

Algorithms

  1. BFS

BFS

  1. Astar

Astar

  1. Hamiltonian Cycle

Hamil

Resources

Wikipedia

CodeBullet

AlphaPhoenix

JohnTapsell

About

Implemented algorithms that can play game Snake.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages