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

Major Refactor of Core Code #4

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# macOS
.DS_Store

# python
env/
__pycache__/
*.py[cod]
*$py.class
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# tetris-terminal-game

Tetris Clone. Runs in terminal. Implemented in Python3 using ncurses library.

## Setup

To run, type:

```
python3 tetris.py
```

Note that the game currently only runs on macOS with Python 3+!

## Objective

Clear lines by placing tetris pieces strategically.
If the pieces stack up to the top, you lose.
Try to get to level 11!

## Controls

"up arrow" - rotate piece
"down arrow" - make piece fall faster
"right arrow" - move piece right
"left arrow" - move piece left
"p" - pause game
"q" - quit game

## What was the original motivation?

A friend (@jordonwii) told @epai that animation in the terminal couldn't be done. @epai wanted to prove him wrong, and then some. So @epai started implementing a full functioning tetris in the terminal. :)

## Special Thanks

Special Thanks to all contributors! Pull requests are always welcome, and feel free to leave an issue if you find any bugs or have any suggestions.

Thanks for playing!
30 changes: 0 additions & 30 deletions README.txt

This file was deleted.

Loading