-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08485f8
commit 1796834
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# yetris | ||
|
||
> Clone of the game Tetris in the terminal. | ||
> More information: <https://github.com/alexdantas/yetris>. | ||
- Start a tetris game: | ||
|
||
`yetris` | ||
|
||
- Navigate the piece horizontally: | ||
|
||
`{{Left|Right}} arrow key` | ||
|
||
- Rotate the piece clockwise or counterclockwise: | ||
|
||
`{{x|z}}` | ||
|
||
- Hold a piece (only one allowed at a time): | ||
|
||
`c` | ||
|
||
- Soft drop the piece: | ||
|
||
`Down arrow key` | ||
|
||
- Hard drop the piece: | ||
|
||
`Spacebar` | ||
|
||
- Pause/unpause the game: | ||
|
||
`p` | ||
|
||
- Quit the game: | ||
|
||
`q` | ||
|
||
- Show the help during the game: | ||
|
||
`h` |