Commit Graph

15 Commits

Author SHA1 Message Date
Kristofers Solo
585ddcd1d0 refactor(game): add atomic funtions 2023-12-29 18:02:39 +02:00
Kristofers Solo
cad0e87663 fix(game): block movement 2023-12-29 16:18:49 +02:00
Kristofers Solo
fd48aa5b1b refactor(game): move grid to separate class 2023-12-28 22:24:50 +02:00
Kristofers Solo
482843b078 style(game): display readable block coords
style(game): update log output
2023-12-28 18:59:14 +02:00
Kristofers Solo
848db04af2 refactor(game): update dunder methods 2023-12-28 18:59:14 +02:00
Kristofers Solo
56f32f7b4a feat(game): add log output
import logger
2023-12-28 18:59:14 +02:00
Kristofers Solo
b533946471 feat(game): add inital block value option 2023-12-28 18:25:36 +02:00
Kristofers Solo
c738084ce1 refactor(game): make some methods private 2023-12-28 18:25:36 +02:00
Kristofers Solo
50145ae6a6 feat(game): add "dunder" methods for Block 2023-12-28 18:15:15 +02:00
Kristofers Solo
678b955309 add type hints 2023-12-28 18:15:15 +02:00
Kristofers Solo
e45e6b16b3 feat(game): add block colors
Each block value has different color
2023-12-28 18:15:15 +02:00
Kristofers Solo
789bebabfa feat(game): add screen margin
Block cannot get out of screen
2023-12-28 18:15:15 +02:00
Kristofers Solo
d2d2a07822 feat(game): add block movement
Allowed movemt keys are WASD, Arrow keys and vim motion keys
2023-12-28 18:15:15 +02:00
Kristofers Solo
104fed4705 feat: add different value posibility 2023-12-28 18:15:15 +02:00
Kristofers Solo
a5a44cb5b5 feat: draw Block on screen 2023-12-28 18:15:15 +02:00