README.md

April 24, 2025 · View on GitHub

Tetris game using nature (>0.5.0) programming language + raylib library, macos platform only!

Preview

Build

  1. install the https://github.com/nature-lang/nature nature compiler

  2. build and get the main binary

nature build --ldflags '-framework IOKit -framework Cocoa' main.n
  1. Run the main binary
. /main

Guide

Use ↓ ← → to control the movement of the cube. Use ↑ to rotate the cube. Use p to pause the game

License

MIT