Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 909 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 909 Bytes

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