2019-06-22 20:24:15 +02:00
|
|
|
<img src='https://raw.githubusercontent.com/vlang/v/master/examples/tetris/screenshot.png' width=300>
|
2019-07-12 05:04:04 +02:00
|
|
|
|
|
|
|
Tetris has a temporary dependency on GLFW.
|
|
|
|
|
|
|
|
## macOS
|
|
|
|
`brew install glfw`
|
|
|
|
|
|
|
|
## Ubuntu
|
2019-10-28 14:47:17 +01:00
|
|
|
`sudo apt install libglfw3 libglfw3-dev libfreetype6-dev libssl-dev`
|
2019-08-17 14:53:06 +02:00
|
|
|
|
|
|
|
## Arch (and Manjaro)
|
|
|
|
`sudo pacman -S glfw-x11`
|
2019-07-12 05:04:04 +02:00
|
|
|
|
|
|
|
## Windows
|
|
|
|
Copy `thirdparty/glfw/glfw3.dll` to this directory.
|