v/examples/tetris
Subhomoy Haldar 114a341f5f
rand: simplify rand.PRNG, move to optional types for error handling (#13570)
2022-02-23 12:36:14 +02:00
..
README.md
index.html
screenshot.png
tetris.js.v rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
tetris.v rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00

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.