v/examples/tetris
Alexander Medvednikov 59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
..
README.md
index.html
screenshot.png
tetris.js.v
tetris.v

README.md

Dependencies (Ubuntu)

sudo apt install libx11-dev
sudo apt install libxi-dev
sudo apt install libxcursor-dev
sudo apt install libgl-dev

Compiling to JS

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

And then open index.html with your favourite web browser.