Kristofers Solo
|
fdcda990d0
|
Update pyproject.toml
|
2024-01-03 16:44:38 +02:00 |
|
Kristofers Solo
|
cb54859b6c
|
adjust the weights
|
2024-01-03 16:35:00 +02:00 |
|
Kristofers Solo
|
b10c90cbdf
|
feat(game, AI): add option with AI play
|
2024-01-03 05:24:46 +02:00 |
|
Kristofers Solo
|
5cd4a6d0ae
|
fix: confilicting arguments
|
2024-01-03 05:24:46 +02:00 |
|
Kristofers Solo
|
9eafca215d
|
feat: add argument parser
|
2024-01-03 05:24:46 +02:00 |
|
Kristofers Solo
|
2d218aa449
|
update log zip file size
|
2024-01-03 05:24:46 +02:00 |
|
Kristofers Solo
|
62c56b1911
|
refactor(AI): update change condition
|
2024-01-03 05:24:46 +02:00 |
|
Kristofers Solo
|
73548ed8f4
|
refactor(AI): separate into files
|
2024-01-03 05:24:46 +02:00 |
|
Kristofers Solo
|
e03465d2d3
|
feat(ai): add ai
|
2024-01-03 03:58:38 +02:00 |
|
Kristofers Solo
|
97a64b44b6
|
feat(game): add game restard option
|
2024-01-03 02:24:48 +02:00 |
|
Kristofers Solo
|
4b02daf12b
|
docs(game): update docstrings
|
2024-01-03 01:55:53 +02:00 |
|
Kristofers Solo
|
692d5dd859
|
feat(game): dispaly current score
|
2024-01-03 01:53:43 +02:00 |
|
Kristofers Solo
|
fce7ec17e1
|
feat(game): display score
|
2024-01-03 01:35:17 +02:00 |
|
Kristofers Solo
|
f95ca3aaf6
|
feat(game): set Menu as primary screen
|
2024-01-03 00:49:09 +02:00 |
|
Kristofers Solo
|
d22b5dbab2
|
refactor(game): Menu
|
2024-01-03 00:04:38 +02:00 |
|
Kristofers Solo
|
3354f84bbe
|
fix(game): Label
|
2024-01-03 00:04:25 +02:00 |
|
Kristofers Solo
|
65653457ed
|
refactor(game): Label
|
2024-01-02 23:32:31 +02:00 |
|
Kristofers Solo
|
624401d27b
|
[major] refactor(game): add abstract classes
I don't know anymore where and what changed
|
2024-01-02 22:59:30 +02:00 |
|
Kristofers Solo
|
c03be8f3cf
|
refactor(game): rename Block to Tile and organize files
|
2024-01-02 16:30:27 +02:00 |
|
Kristofers Solo
|
61976e40aa
|
feat(game): create main menu
|
2024-01-02 15:40:14 +02:00 |
|
Kristofers Solo
|
b0240d1b10
|
feat(game): add Button element
|
2024-01-02 15:40:05 +02:00 |
|
Kristofers Solo
|
ca9e19be2a
|
feat(game): add score
|
2024-01-01 23:43:39 +02:00 |
|
Kristofers Solo
|
ca8aeafed3
|
feat(game): add Label
|
2024-01-01 23:16:24 +02:00 |
|
Kristofers Solo
|
22d5f17b9f
|
feat(game): add Board background
|
2024-01-01 22:22:02 +02:00 |
|
Kristofers Solo
|
94a5eb8e0e
|
refactor(game): change color scheme
|
2024-01-01 22:00:55 +02:00 |
|
Kristofers Solo
|
e7932303c2
|
feat(game): add header and center board
|
2024-01-01 21:17:36 +02:00 |
|
Kristofers Solo
|
70e0172ec7
|
refactor(game): add config for grid dimensions
|
2024-01-01 20:28:14 +02:00 |
|
Kristofers Solo
|
461c27e2d3
|
feat(game): add restart method
|
2024-01-01 20:24:36 +02:00 |
|
Kristofers Solo
|
de7afa3df1
|
feat(game): add is_game_over method
|
2024-01-01 20:22:56 +02:00 |
|
Kristofers Solo
|
89b5d77ee8
|
feat(game): add can_move method
|
2024-01-01 20:22:38 +02:00 |
|
Kristofers Solo
|
0ebea765e2
|
feat(game): add is_full method
|
2024-01-01 20:02:23 +02:00 |
|
Kristofers Solo
|
fe127ae01c
|
refactor(game): Board
|
2024-01-01 19:08:19 +02:00 |
|
Kristofers Solo
|
7d1edb3c43
|
refactor(game): setup formatter
|
2024-01-01 18:51:26 +02:00 |
|
Kristofers Solo
|
abdecc36d2
|
fix(game): movement sorting
|
2024-01-01 00:15:24 +02:00 |
|
Kristofers Solo
|
54787e727b
|
fix(game): no more duplicates
|
2024-01-01 00:04:47 +02:00 |
|
Kristofers Solo
|
276ed26aee
|
fix(game): list index out of range
|
2023-12-31 22:45:01 +02:00 |
|
Kristofers Solo
|
d2f898358b
|
refactor(game): remove redundant debug messaged
|
2023-12-31 22:40:39 +02:00 |
|
Kristofers Solo
|
df7015a7d4
|
fix(game): block generation
|
2023-12-31 20:01:13 +02:00 |
|
Kristofers Solo
|
df1a5b7069
|
fix
|
2023-12-31 02:25:37 +02:00 |
|
Kristofers Solo
|
2b6b4c34d9
|
feat(game): generate block with given coords
feat(game): update `generate_block`
Method accepts coords where to spawn blocks
|
2023-12-31 02:24:28 +02:00 |
|
Kristofers Solo
|
5f37bfea35
|
fix(game): movement
Now all blocks don't leave gaps when moving
|
2023-12-29 23:57:38 +02:00 |
|
Kristofers Solo
|
d2d5f9485b
|
refactor(game): move grid_pos to utils.py file
|
2023-12-29 23:56:47 +02:00 |
|
Kristofers Solo
|
ef09979dba
|
refactor(game): remove dunder methods
|
2023-12-29 19:46:26 +02:00 |
|
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 |
|