Skip to content

weiwenhao/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

nature Tetris game based on raylib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published