#tetris #egui #gamedev

bin+lib tetris_gui

Rust implementation of Tetris using egui

2 releases

0.1.1 Mar 3, 2023
0.1.0 Mar 3, 2023

#1753 in Game dev

MIT license

40KB
942 lines

Introduction

This is an implementation of some of the rules of the popular Tetris game using egui for the graphical interface, done for education purposes.

MarineGEO circle logo

Installation and how to run

If you have cargo, just run

cargo install tetris-gui

and run

tetris-gui

in the command line.

Commands

  • Arrow keys control movement;
  • Q/E controls counterclockwise and clockwise rotation respectively;
  • Z hard drops;
  • Space pauses.

Dependencies

~7–25MB
~356K SLoC