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