Commit graph

9 commits

Author SHA1 Message Date
Sam Tay
7bea4fc3be Finish pretty much all game mechanics 2017-06-15 23:20:10 -04:00
Sam Tay
0a20f0a5ff Implement safe rotations 2017-06-15 20:50:35 -04:00
Sam Tay
d5f9c5146b Implement valid position checking and improve nextShape 2017-06-15 11:33:09 -04:00
Sam Tay
a098278778 Remove unnecessary notion of "cell" value 2017-06-14 23:10:08 -04:00
Sam Tay
a7efdaba5c Map out funcs and types for shifting & rotating 2017-06-14 22:59:39 -04:00
Sam Tay
6c1627c481 Move single-use functions into "where" clause 2017-06-14 22:58:51 -04:00
Sam Tay
0bf364ec12 Implement clearing full rows 2017-06-14 22:25:32 -04:00
Sam Tay
1633c4a9c7 Build out more game mechanics
Typical tetris randomizer, bring in `containers`, swap to absolute cell
locations, write game initializer.
2017-06-14 00:28:45 -04:00
Sam Tay
7cdf59d5aa First commit, some basic Tetris types 2017-06-12 23:47:31 -04:00