Skip to content

kanjie128/snake-sdl-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learn rust & SDL2 by write a snake game

Quick start

  1. install sdllib first

  2. run snake game

cargo r

TODO

  • draw a game board & snake
  • move the snake
  • check whether snake out of bounds
  • draw window Texture
  • snake body circle check
  • random an egg
  • snake eat egg

About

learn rust & SDL2 by write a snake game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages