v/examples/snek/README.md

312 B

snek

Snake game implemented using gg module.

Compiling & running

Compiling to binary

v -prod examples/snek/snek.v
./examples/snek/snek # run snek game!

Compiling to JS

v -b js_browser examples/snek/snek.js.v

And then open examples/snek/index.html in your favourite browser.