1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples/tetris
2020-02-24 17:55:16 +01:00
..
.gitignore
README.md examples: update tetris readme 2020-02-07 18:47:05 +01:00
RobotoMono-Regular.ttf
screenshot.png os: clean up windows functions 2019-08-17 16:17:43 +03:00
tetris.v cleanup: replace C for loops with range 2020-02-24 17:55:16 +01:00

Tetris has a temporary dependency on GLFW.

macOS

brew install glfw freetype

Ubuntu

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

Arch (and Manjaro)

sudo pacman -S glfw-x11

Windows

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