Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yetris: add page #4938

Merged
merged 5 commits into from
Nov 7, 2020
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions pages/linux/yetris.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# yetris

> Tetris(r) game clone in terminal.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what the r in brackets is for here? Also, perhaps this will read better?

Suggested change
> Tetris(r) game clone in terminal.
> Clone of the game Tetris in the terminal.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the Tetris name and brand is trademarked by The Tetris Company.

I was/am not sure how that will work out here or legality of the name usage, so added "(r)" to it, which I saw in another Tetris clone's Debian manpage here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see. I was not aware of that!

> 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 help during the game:

`h`