This is an A.I Snake game, written by me in Java script, the snake has a simple memory that is used to store its mistakes in the game to try to avoid later.
Its artificial intelligence is still limited. It depends on the next cell checking that needs to move to without taking into consideration its length. So you will see it collides with itself!, so I'm working to develop it to make it more smarter.
Here is the source code of the game for learning & developing:
Later, I'll publish some comments to explain the code ... Good luck :)
Game Preview:
*Click on [Play A.I] to start game
AI Snake Game
By Dev.Hima
Score: 0
|
|
Best Score: 0
|
|
|
|
So nice Hima :'D
ReplyDeletei react as i understand :V
Thanks :)
ReplyDelete