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