Tetris on the SugarCraft stack
CandyCore runtime, CandySprinkles for rounded borders + per-piece colours, deterministic 7-bag RNG, ghost piece, hard drop, hold, level-driven gravity ramp, NES-classic line-clear scoring. 41 tests / 1535 assertions.
composer require candycore/candy-tetris
composer install
./bin/tetris
# Controls
# โ / โ Move left / right
# โ / x Rotate clockwise
# z Rotate counter-cw
# โ Soft drop
# Space Hard drop
# p Pause / resume
# q Quit
VHS-recorded GIFs of every example shipped with the app. Regenerated automatically on every push that touches the source.