Commit Graph

36 Commits

Author SHA1 Message Date
Kristofers Solo
d129ed845f feat(game): read/save highscore 2024-01-07 20:09:12 +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
c58bf61603 feat(game): update music 2024-01-07 17:31:20 +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
77cd153b10 refactor(ai) 2024-01-07 04:29:01 +02:00
Kristofers Solo
080ba1b9cb fix imports 2024-01-06 21:25:42 +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
7d5bf8e658 feat(game): add main menu 2024-01-06 05:07:46 +02:00
Kristofers Solo
364988a8f8 feat(game): show only 1 next figure 2024-01-06 03:00:27 +02:00
Kristofers Solo
cf952c4c12 feat(ai): adjust the fitness calculations 2024-01-05 19:54:19 +02:00
Kristofers Solo
bd4f30b1b5 refactor(utils, ai): move chekpoint configs 2024-01-05 17:13:57 +02:00
Kristofers Solo
e6cef45d19 feat(utils, ai): set neat config file location in Config 2024-01-05 16:26:19 +02:00
Kristofers Solo
4e46047243 feat(utils, ai): set AI paths in Config 2024-01-05 16:21:59 +02:00
Kristofers Solo
43fb1eb8d2 refactor(ai)
refactor(ai)

refactor(ai)

adjust ai
2024-01-05 02:47:34 +02:00
Kristofers Solo
ac46665dca docs(game): add docstrings
`Preview`

`Game`

`Score`

`Tetromino`

`Timer`

style(docs): adhere to Google docstring style
2024-01-04 17:06:45 +02:00
Kristofers Solo
7f9b1fb266 feat(game): add langing sound 2024-01-04 06:43:34 +02:00
Kristofers Solo
91587b772f feat(game): add background music 2024-01-04 06:41:11 +02:00
Kristofers Solo
384a4d8d74 feat(game): add scoring mechanic 2024-01-04 06:29:18 +02:00
Kristofers Solo
99f316d35a feat: add fonts 2024-01-04 05:57:21 +02:00
Kristofers Solo
684f5ba196 refactor(game): use Direction enum 2024-01-04 03:14:52 +02:00
Kristofers Solo
ae31baf925 feat(game): add block movement down 2024-01-04 03:14:52 +02:00
Kristofers Solo
5291ca5de5 fix(game): grid border render 2024-01-04 03:14:52 +02:00
Kristofers Solo
b5e7a7b12f feat(game): add figure offset 2024-01-04 03:14:52 +02:00
Kristofers Solo
54b5aa5774 refactor(utils): replace Position with Vector2 2024-01-04 03:14:52 +02:00
Kristofers Solo
9b82ca080e refactor(utils): move Position and Size to separate files 2024-01-04 03:14:52 +02:00
Kristofers Solo
06fa7c4cf7 fix(game): flickering 2024-01-04 00:57:56 +02:00
Kristofers Solo
25e56a3482 feat(game): add Preview surface 2024-01-04 00:35:39 +02:00
Kristofers Solo
306e59ce07 feat(utils): add Size and Position 2024-01-04 00:30:41 +02:00
Kristofers Solo
3b51a9a62f feat(game): add Menu surface / main window 2024-01-03 23:38:09 +02:00
Kristofers Solo
d299934e7c feat(utils): add game configs/settings 2024-01-03 22:47:20 +02:00
Kristofers Solo
7bc10c62d0 Initial commit 2024-01-03 22:35:26 +02:00