1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples/tetris
2020-05-22 20:00:46 +03:00
..
README.md readme: tetris 2020-05-13 04:26:06 +02:00
screenshot.png os: clean up windows functions 2019-08-17 16:17:43 +03:00
tetris.v examples: fix const name warnings due to gx.White, etc... 2020-05-22 20:00:46 +03:00

Tetris has a temporary dependency on GLFW.

FreeType is needed to display the score and some text. A smaller stb library is going to be used instead.

macOS

brew install glfw freetype

Ubuntu

sudo apt install libglfw3 libglfw3-dev libfreetype6-dev libssl-dev

Arch (and Manjaro)

sudo pacman -S glfw-x11 freetype2

Windows

Copy thirdparty/glfw/glfw3.dll & thirdparty/freetype/win64/freetype.dll to this directory.