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
. /main
Use ↓ ← → to control the movement of the cube. Use ↑ to rotate the cube. Use p to pause the game
MIT