sudo apt install libx11-dev sudo apt install libxi-dev sudo apt install libxcursor-dev sudo apt install libgl-dev
v -b js_browser examples/tetris/tetris.js.v
And then open index.html with your favourite web browser.
index.html