v/examples/tetris/README.md

18 lines
545 B
Markdown
Raw Normal View History

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.
2020-05-13 04:26:06 +02:00
FreeType is needed to display the score and some text. A smaller stb library is going to be used instead.
2019-07-12 05:04:04 +02:00
## 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`
## Arch (and Manjaro)
`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.