|
|
d0ba27ee0f
|
optimize clearing lines by using pointers to define the row order
|
2025-01-29 11:56:07 +01:00 |
|
|
|
2fb10106f4
|
make set all generate also include all rotations of tetromino.
Reworked set_shape to take in id, instead of colour and shape.
|
2025-01-28 16:28:30 +01:00 |
|
|
|
398df2066b
|
add random rotation to random placement
|
2025-01-27 16:44:44 +01:00 |
|
|
|
92676d6474
|
fix: you need to take the square root of the size, not divide by two,
|
2025-01-27 16:44:02 +01:00 |
|
|
|
2dbdc5ac40
|
add colour selection based on ID
|
2025-01-27 16:19:07 +01:00 |
|
|
|
1097c6e09d
|
make shape data identifiable by ID and rotation
|
2025-01-27 16:16:23 +01:00 |
|
|
|
b698a0e3d1
|
add some temporary code for setting a random tetromino
|
2025-01-27 15:32:05 +01:00 |
|
|
|
7f00107c7f
|
split up the code a bit more
|
2025-01-27 00:26:36 +01:00 |
|