Kristofers Solo
|
585ddcd1d0
|
refactor(game): add atomic funtions
|
2023-12-29 18:02:39 +02:00 |
|
Kristofers Solo
|
79c3bee2a3
|
feat(game): add __mult__ and __imult__ methods for Direction
Returns tuple of values that were multiplied by a constant
|
2023-12-29 16:57:04 +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
|
73a49d4d65
|
feat(game): add Direction enum
|
2023-12-28 22:24:20 +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
|
566f05f67b
|
refactor(game): add movement methods
|
2023-12-28 18:22:03 +02:00 |
|
Kristofers Solo
|
c40ec42ff1
|
feat(game): setup logger
|
2023-12-28 18:15:34 +02:00 |
|
Kristofers Solo
|
144cf771f0
|
docs(game): add docstrings
fix typo
|
2023-12-28 18:15:34 +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
|
0bfba71735
|
moved to pygame-ce
|
2023-12-28 18:15:15 +02:00 |
|
Kristofers Solo
|
7fc9e0b644
|
feat(game): generate new block after move
|
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
|
72b31e90c0
|
feat: add sprite collision check
|
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 |
|
Kristofers Solo
|
d1490bd49e
|
feat(game): add configs
|
2023-12-28 18:15:15 +02:00 |
|
Kristofers Solo
|
eddab448be
|
feat(game): add TokyoNight colorscheme
|
2023-12-28 18:15:15 +02:00 |
|
Kristofers Solo
|
1912d6458d
|
feat(game): render screen
|
2023-12-28 18:15:15 +02:00 |
|
Kristofers Solo
|
45a1f690b7
|
Initial commit
|
2023-12-23 20:00:06 +02:00 |
|
Kristofers Solo
|
f07d5e3527
|
Initial commit
|
2023-12-23 19:58:25 +02:00 |
|