aboutsummaryrefslogtreecommitdiff
path: root/README
blob: c172172f0206855d4236c98343d5dba67e4f6bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
BCTB Style guide:
  Unlike the smootlight code, which was something of a hot mess, we are
  going to follow actual python style conventions this time.

method_names
ClassNames
variable_names
Files are modules (like java packages --> multiple classes per file)

INDENTS ARE 2 SPACES.  NOT 4.  NOT 8.  NOT TABS.  Thanks :).

If you write something that is easily testable and mission critical, write a test for it!  Put it in
the tests folder.  Consult the tests folder of the smootlight code for how
to do that.

This is going to be boss.

Tetris Instructions:
One or two players can play at once.
Press UP to join the game
Once all players have joined, press DOWN to start the game
Use LEFT and RIGHT to move your shape, UP to rotate, and DOWN to make it drop faster
When you complete a line it will disappear from the board and you gain one point. Your score is displayed in binary below your board.
If you clear two or more lines at once, n-1 incomplete lines will appear at the bottom of your opponent’s board. 
When one player’s board reaches the top of the screen, they lose and the other player wins.
If neither player loses after 3 minutes, the player with the higher score wins.

Press ESC to exit the program.