Skip to content

disjukr/Tetris

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

simple cli tetris game written in cpp for study purpose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages