Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# snek
|
||||
|
||||
Snake game implemented using `gg` module.
|
||||
|
||||
# Compiling & running
|
||||
|
||||
## Compiling to binary
|
||||
```sh
|
||||
v -prod examples/snek/snek.v
|
||||
./examples/snek/snek # run snek game!
|
||||
```
|
||||
|
||||
## Compiling to JS
|
||||
```sh
|
||||
v -b js_browser examples/snek/snek.js.v
|
||||
```
|
||||
And then open `examples/snek/index.html` in your favourite browser.
|
||||
Reference in new issue
Block a user