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)
|
2020-05-11 02:26:59 +03:00
|
|
|
`sudo pacman -S glfw-x11 freetype2`
|
2019-07-12 06:04:04 +03:00
|
|
|
|
|
|
|
## Windows
|
2020-02-07 20:47:05 +03:00
|
|
|
Copy `thirdparty/glfw/glfw3.dll` & `thirdparty/freetype/win64/freetype.dll` to this directory.
|