Commit graph

81 commits

Author SHA1 Message Date
0e76abdcc7 Seed the random number generator 2022-03-05 13:33:26 -08:00
6600bdf109 Allow for clearing of more than one row at once 2022-03-05 13:31:22 -08:00
9df133113a Adjust dimensions 2022-03-05 13:31:00 -08:00
a31f2d0559 Move rotation to event system 2022-03-05 13:24:44 -08:00
551d6dc2c5 Remove outdated rotation_state transformations comment 2022-03-05 13:20:49 -08:00
7827f00524 Move snapping to event system 2022-03-05 13:20:21 -08:00
9cb6f35ec1 Adjust speed and remove unnecessary window.setFramerateLimit call 2022-03-05 13:14:36 -08:00
ba88df070a Add mostly functional row clearing 2022-03-05 13:11:15 -08:00
cda6883dd6 Fix right wall collisions 2022-03-05 12:38:16 -08:00
4d3e1d3b2d Prevent O block from rotating 2022-03-05 12:35:54 -08:00
20222ad686 Add collision detection for rotation 2022-03-05 12:31:43 -08:00
d67b06d006 Add block rotation 2022-03-05 12:14:43 -08:00
f09b6c51e2 Rewrite block definitions 2022-03-05 11:49:39 -08:00
f00b40e945 Clean up unneeded curly braces in block type initialization 2022-03-05 11:42:41 -08:00
ba36ac45cb Remove fixed tile size requirements 2022-03-05 11:40:34 -08:00
42c8414378 Switch from lists to vectors, clean up includes 2022-03-05 11:37:49 -08:00
e97ff2269a Add disfunctional rotation 2022-03-05 11:00:18 -08:00
fa27bd9127 Migrate block loops to Block::get_tiles 2022-03-05 10:41:15 -08:00
3c861bd5e2 Add fast forwarding 2022-03-04 14:28:35 -08:00
96a0254208 Add snapping 2022-03-04 14:05:18 -08:00
2aa3f14aaa Add section comments and remove useless landed = false statement 2022-03-04 13:57:51 -08:00
6bbb802089 Fix L block 2022-03-04 13:54:43 -08:00
20a1017705 Add horizontal collision detection 2022-03-04 13:49:28 -08:00
69b36e97af Restructure code, moving into classes 2022-03-04 13:09:27 -08:00
1d6a0914d5 Make blocks fall in center 2022-03-04 12:23:51 -08:00
777b15741d Implement crude Tetris 2022-03-03 22:42:38 -08:00
Elnu
bdf4b27fc6
Add back link to build instructions in README.md 2022-03-03 17:06:15 -08:00
Elnu
8a456c3417
Update build instructions 2022-03-03 17:05:35 -08:00
Elnu
47a9cdde14
Update ProjectName 2022-03-03 17:03:25 -08:00
Elnu
4a5e917423
Update README.md 2022-03-03 17:02:55 -08:00
Elnu
40dd4c9031 Initial commit 2022-03-03 17:00:44 -08:00