|
|
be57dd8231
|
v0.9
|
2025-09-15 08:52:02 +02:00 |
|
|
|
b6a33d017f
|
feat: show score and increment when lines are cleared
|
2025-09-15 08:50:52 +02:00 |
|
|
|
14520e047c
|
feat: add score type
|
2025-09-15 08:50:52 +02:00 |
|
|
|
3f1140910d
|
v0.8
|
2025-09-15 08:07:27 +02:00 |
|
|
|
ac4d911efd
|
feat: clear full lines after locking shape
|
2025-09-15 08:07:16 +02:00 |
|
|
|
2a7f394b7f
|
feat(grid): add ClearFullRows()
|
2025-09-15 08:06:39 +02:00 |
|
|
|
1d7423d886
|
feat(grid): add MoveRowDown()
|
2025-09-15 08:06:02 +02:00 |
|
|
|
890331991f
|
feat(grid): add ClearRow()
|
2025-09-15 08:05:39 +02:00 |
|
|
|
eb31bdf50c
|
feat(grid): add IsRowFull()
|
2025-09-15 08:05:02 +02:00 |
|
|
|
e958f87e64
|
v0.7
|
2025-09-15 07:00:00 +02:00 |
|
|
|
8f11a99e08
|
feat: soft drop
|
2025-09-15 06:59:54 +02:00 |
|
|
|
f7df74aeaa
|
v0.6
|
2025-09-15 06:56:44 +02:00 |
|
|
|
4ce5b82b25
|
feat: rotate shape when UP is pressed.
|
2025-09-15 06:54:54 +02:00 |
|
|
|
6131b751e5
|
feat(shape): add RotateCW() and RotateCCW()
|
2025-09-15 06:54:20 +02:00 |
|
|
|
ab1c774a26
|
v0.5
|
2025-09-15 06:51:01 +02:00 |
|
|
|
ac14dfe8b3
|
feat: add shape movement
|
2025-09-15 06:49:29 +02:00 |
|
|
|
d6a9e80fbb
|
chore: update go.mod
|
2025-09-15 06:49:06 +02:00 |
|
|
|
aeaf6cb5c4
|
feat(collision): check grid bounds in x axis.
|
2025-09-15 06:47:48 +02:00 |
|
|
|
5853fb1238
|
v0.4
|
2025-09-14 23:06:59 +02:00 |
|
|
|
ca6497d362
|
fix: check bound before placing a block in LockShape()
|
2025-09-14 23:06:58 +02:00 |
|
|
|
dab2570b76
|
feat(collision): check for collision against blocks in the grid.
|
2025-09-14 22:38:10 +02:00 |
|
|
|
324fd5af73
|
v0.3
|
2025-09-14 22:31:47 +02:00 |
|
|
|
a6072e5b05
|
feat: lock and spawn shapes
|
2025-09-14 22:31:21 +02:00 |
|
|
|
3c847094a0
|
refactor: cleanup main loop code by moving related code into update/render functions respectively.
|
2025-09-14 22:16:30 +02:00 |
|
|
|
6cf1c9f6f7
|
v0.2
|
2025-09-14 22:16:30 +02:00 |
|
|
|
50a7666246
|
feat: add collision check on shape drop.
|
2025-09-14 22:16:30 +02:00 |
|
|
|
27c10af424
|
feat: add CheckShapeCollision()
|
2025-09-14 22:16:30 +02:00 |
|
|
|
ab69d501b9
|
feat: implement shape drop
|
2025-09-14 22:16:30 +02:00 |
|
|
|
ffbf1332c5
|
feat: add engine/core/interval_timer.go
|
2025-09-14 22:16:30 +02:00 |
|
|
|
63a3662dbe
|
feat: draw shape on grid.
|
2025-09-14 22:16:30 +02:00 |
|
|
|
02157a12ea
|
feat(draw): add DrawShape()
|
2025-09-14 22:16:29 +02:00 |
|
|
|
4dd6d93653
|
feat(draw): add grid.DrawBlock()
|
2025-09-14 22:16:29 +02:00 |
|
|
|
656487903e
|
feat: add shape struct
|
2025-09-14 22:16:29 +02:00 |
|
|
|
93874028b0
|
feat: add engine/core/vec2.go
|
2025-09-14 22:16:29 +02:00 |
|
|
|
b746fce027
|
v0.1
|
2025-09-14 22:16:29 +02:00 |
|
|
|
1b9ba081e2
|
feat: make rendering work with the grid struct.
|
2025-09-14 22:16:29 +02:00 |
|
|
|
2a84c7bf6a
|
feat: add game/grid.go
|
2025-09-14 22:16:29 +02:00 |
|
|
|
6e21b1fcb2
|
feat: add game/block.go
This type represents a single block in a grid.
|
2025-09-14 22:16:29 +02:00 |
|
|
|
93a660e8d3
|
feat(assets): add constant with the size of blocks in the sprite texture.
|
2025-09-14 22:16:29 +02:00 |
|
|
|
0245a5cb43
|
Initial commit
|
2025-09-14 22:16:29 +02:00 |
|