Kristofers Solo
|
280c6be84d
|
feat(game): add pause screen
|
2024-01-16 19:55:22 +02:00 |
|
Kristofers Solo
|
a136a6ebf7
|
feat(game): disable movement while paused
|
2024-01-16 19:07:25 +02:00 |
|
Kristofers Solo
|
36edbacbbc
|
chore(game): adjust block speed
|
2024-01-15 22:39:57 +02:00 |
|
Kristofers Solo
|
4eed4a18e9
|
refactor(game): pause
|
2024-01-15 22:39:39 +02:00 |
|
Kristofers Solo
|
68452de415
|
refacor(game): add separate _get_keys function
|
2024-01-15 09:17:58 +02:00 |
|
Kristofers Solo
|
b8604f41c3
|
feat(game): add pause method
fix: `pause`
|
2024-01-15 09:08:39 +02:00 |
|
Kristofers Solo
|
ae5b2fc0df
|
chore(game): adjust speed increase
|
2024-01-15 07:37:49 +02:00 |
|
Kristofers Solo
|
38301b0688
|
refactor(game): use attrs
|
2024-01-15 07:00:16 +02:00 |
|
Kristofers Solo
|
75d873d1eb
|
style(game): rename FigureConfig to FigureParams
fix
|
2024-01-15 06:58:23 +02:00 |
|
Kristofers Solo
|
5200a1458e
|
feat(game): update preview tetromino color
Preview color is dependant on chosen colorscheme in `settings.toml`.
|
2024-01-15 06:52:57 +02:00 |
|
Kristofers Solo
|
9e47d1bf2d
|
refactor(game): block colors depend on settings
|
2024-01-15 06:23:31 +02:00 |
|
Kristofers Solo
|
a578731b65
|
refactor(game): add image property
|
2024-01-15 06:23:31 +02:00 |
|
Kristofers Solo
|
c3443b5385
|
chore(gh-actions): add linting
fix: typo
style: rename job
|
2024-01-09 17:55:02 +02:00 |
|
Kristofers Solo
|
12776ee181
|
revert
|
2024-01-08 18:46:23 +02:00 |
|
Kristofers Solo
|
e6a2b474e6
|
chore: remove unnecessary imports
|
2024-01-08 18:39:03 +02:00 |
|
Kristofers Solo
|
29cc83a2ac
|
docs: update docstrings
|
2024-01-08 18:15:36 +02:00 |
|
Kristofers Solo
|
a0ff4a438d
|
chore(game): remove unused import
|
2024-01-08 17:52:42 +02:00 |
|
Kristofers Solo
|
cbe01b3951
|
fix(game): duplicate tetromino on restart
|
2024-01-08 17:50:19 +02:00 |
|
Kristofers Solo
|
48d5e1d705
|
adjust game settings
|
2024-01-08 17:13:41 +02:00 |
|
Kristofers Solo
|
c87eafe283
|
refactor(game): remove main.py
|
2024-01-07 20:19:17 +02:00 |
|
Kristofers Solo
|
d129ed845f
|
feat(game): read/save highscore
|
2024-01-07 20:09:12 +02:00 |
|
Kristofers Solo
|
89fbf2e5ab
|
style: cleaned up code
|
2024-01-07 19:56:11 +02:00 |
|
Kristofers Solo
|
eefa176228
|
fix mypy issues
|
2024-01-07 19:06:22 +02:00 |
|
Kristofers Solo
|
442feac0cb
|
refactor: use 1 log file
|
2024-01-07 19:03:53 +02:00 |
|
Kristofers Solo
|
bdb785303d
|
feat(game): add different colors
|
2024-01-07 18:34:34 +02:00 |
|
Kristofers Solo
|
4bd4ff00ad
|
feat(game): add phantoms
|
2024-01-07 18:13:01 +02:00 |
|
Kristofers Solo
|
c58bf61603
|
feat(game): update music
|
2024-01-07 17:31:20 +02:00 |
|
Kristofers Solo
|
f85b72a150
|
refactor(game): use pygame.key.key_code()
|
2024-01-07 17:14:09 +02:00 |
|
Kristofers Solo
|
1cc0b081ec
|
feat(game): add Settings class
|
2024-01-07 16:55:21 +02:00 |
|
Kristofers Solo
|
37132f54e0
|
feat(game): volume from file
|
2024-01-07 16:52:58 +02:00 |
|
Kristofers Solo
|
8e3ed493e0
|
feat(game): movemnt keys from file
|
2024-01-07 16:47:24 +02:00 |
|
Kristofers Solo
|
f1e854a38c
|
feat(utils): add settings.toml
|
2024-01-07 15:55:07 +02:00 |
|
Kristofers Solo
|
06f962f5c7
|
delete ai
|
2024-01-07 15:29:55 +02:00 |
|
Kristofers Solo
|
77cd153b10
|
refactor(ai)
|
2024-01-07 04:29:01 +02:00 |
|
Kristofers Solo
|
c8859bc571
|
refactor(game)
|
2024-01-06 23:18:10 +02:00 |
|
Kristofers Solo
|
080ba1b9cb
|
fix imports
|
2024-01-06 21:25:42 +02:00 |
|
Kristofers Solo
|
e9cd973360
|
feat(ai): add bumpiness calculation
|
2024-01-06 18:22:08 +02:00 |
|
Kristofers Solo
|
31efe9e265
|
feat(ai): add holes calculation
|
2024-01-06 18:10:22 +02:00 |
|
Kristofers Solo
|
1b2158cb25
|
feat(ai): add complete lines calculation
|
2024-01-06 18:01:07 +02:00 |
|
Kristofers Solo
|
41cef03f50
|
feat(ai): add aggregate height calculation
|
2024-01-06 17:56:02 +02:00 |
|
Kristofers Solo
|
e265581262
|
fix(ai): imports
|
2024-01-06 17:55:44 +02:00 |
|
Kristofers Solo
|
231640dec6
|
feat(game): utilize GameMode
|
2024-01-06 17:43:44 +02:00 |
|
Kristofers Solo
|
82d26ddc03
|
feat(game): allow rotation near borders
feat(game): limit loop size
|
2024-01-06 17:36:25 +02:00 |
|
Kristofers Solo
|
6e5a7f3d61
|
tweak movement delay
|
2024-01-06 17:23:46 +02:00 |
|
Kristofers Solo
|
126a49f38f
|
feat(game): display highscore
|
2024-01-06 17:23:18 +02:00 |
|
Kristofers Solo
|
e77dce308b
|
feat(game): add drop timer
|
2024-01-06 16:58:34 +02:00 |
|
Kristofers Solo
|
a56f457482
|
refactor(game): mouse position
|
2024-01-06 16:50:37 +02:00 |
|
Kristofers Solo
|
40b6556c97
|
refactor(game): remove Field enum
|
2024-01-06 16:45:30 +02:00 |
|
Kristofers Solo
|
786ecb3536
|
feat(game): add disabled button colors
|
2024-01-06 16:13:28 +02:00 |
|
Kristofers Solo
|
6fb7fee090
|
feat(game): add button highlight
|
2024-01-06 05:17:09 +02:00 |
|