v / examples / snek / README.md
17 lines · 13 sloc · 312 bytes · 2b9f9935745e238ae8bd1d1ee59a11d37bda65ff
Raw

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.