Skip to content

Snake game in P5.JS, controlled by a pseudo AI created by me.

Notifications You must be signed in to change notification settings

bmartinsdev/p5-snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake game with pseudo AI

My second project with p5.js. I created a snake game and tried to create an algorithm to beat it. It was inspired by Code Bullet, I didn’t get far but ended up with a fancy background for my portfolio. On mouse click food is dropped on the clicked location. On keypress ( WASD / Arrow Keys ) pseudo AI stops and you can play normally.

Result

snake AI

https://lughapp.github.io/p5-snake-game/

Inspiration

Coding Train

Code Bullet

About

Snake game in P5.JS, controlled by a pseudo AI created by me.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published