Skip to content

Using Bevy to code a snake game, then create an AI for it.

Notifications You must be signed in to change notification settings

iSolate77/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake written in Bevy Rust

I followed this fantastic guide which is a great introduction to Bevy, which takes you step by step through creating a snake game. https://mbuffett.com/posts/bevy-snake-tutorial/

There are improvements to be done:

  • Make it look better.
  • Make food spawn one at a time.
  • Make food not spawn on the snake's body.
  • Add a different variable to track last head position to prevent the snake head from colliding with itself.
  • Add score keeping.
  • Add buttons to start and restart the game.
  • Add the option to play with 2 players.

Then eventually code an AI to play the game.

About

Using Bevy to code a snake game, then create an AI for it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages