simple cli tetris game written in cpp for study purpose
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Color.hh
Console.cc
Console.hh
Keyboard.cc
Keyboard.hh
Makefile
README.md
Randomizer.cc
Randomizer.hh
Screen.cc
Screen.hh
Tetris.cc
Tetris.hh
Tetris.sln
Tetris.vcxproj
Tetris.vcxproj.filters
Tetromino.hh
Time.cc
Time.hh
main.cc

README.md

Tetris

simple cli tetris game written in cpp for study purpose.

How to build

just run make in mac.

maybe working on linux too but not tested for now.

in windows, please compile on visual studio manually. i'll write the build.bat soon.

How to play(control)

  • Rotate piece
    • to clockwise: Up Arrow, W
    • to counter clockwise: X, Q
  • Move piece
    • to left: Left Arrow, A
    • to right: Right Arrow, D
  • Drop piece
    • soft: Down Arrow, S
    • hard: Space Bar, F
    • hard(no attach): C, R
  • Hold piece: Z, E