Tetris game using nature (>0.5.0) programming language + raylib library, macos platform only!
-
install the https://github.com/nature-lang/nature nature compiler
-
build and get the main binary
nature build --ldflags '-framework IOKit -framework Cocoa' main.n- Run the main binary
. /mainUse ↓ ← → to control the movement of the cube. Use ↑ to rotate the cube. Use p to pause the game
MIT
