Skip to content

Erik7354/gsnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gsnake

MIT license made-with-Go Generic badge Generic badge

Snake using hypermedia as the engine of application state.

Powered by Go+HTMX.

How To Start

make run

Open localhost:8000

Game settings are done by query parameters:

  • n: number of rows/columns; default/min: 5
  • rr: refresh rate; default: 1000ms; more formats

TODO

  • fix: apple respawns on start (Chrome)
  • highlight head of snake
  • delete sessions
  • improve ui
  • high scores
  • use image.Point instead of coordinate

About

Snake using hypermedia as the engine of application state

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published