Commit Graph

96 Commits

Author SHA1 Message Date
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
Kristofers Solo
7d5bf8e658 feat(game): add main menu 2024-01-06 05:07:46 +02:00
Kristofers Solo
0afe1ed3cb refactor(game): pass mypy 2024-01-06 03:59:13 +02:00
Kristofers Solo
bb80400ad7 game(feat): add game mode 2024-01-06 03:09:10 +02:00
Kristofers Solo
6b3f0ea619 feat(game): add logs 2024-01-06 03:02:33 +02:00
Kristofers Solo
364988a8f8 feat(game): show only 1 next figure 2024-01-06 03:00:27 +02:00
Kristofers Solo
2a2d1412b6 adjust config 2024-01-05 21:13:30 +02:00
Kristofers Solo
599f456c46 feat(ai): add draw_net 2024-01-05 20:16:52 +02:00
Kristofers Solo
80b1c7518e docs(ai): add docstrings 2024-01-05 20:04:30 +02:00
Kristofers Solo
cf952c4c12 feat(ai): adjust the fitness calculations 2024-01-05 19:54:19 +02:00
Kristofers Solo
7fd44f2834 feat(ai): add get_wells 2024-01-05 19:06:48 +02:00
Kristofers Solo
01a84bc201 feat(ai): add get_holes_sum 2024-01-05 18:40:00 +02:00
Kristofers Solo
25e43aeea3 refactor(ai) 2024-01-05 18:39:07 +02:00
Kristofers Solo
8283742b62 feat(ai): add get_holes 2024-01-05 18:38:54 +02:00
Kristofers Solo
0d4ab8aab7 refactor(ai): add Optional
fix

fix
2024-01-05 18:12:25 +02:00
Kristofers Solo
4ab9b4bb2a feat(ai): add get_bumpiness 2024-01-05 17:59:13 +02:00
Kristofers Solo
f673a9f850 feat(ai): add get_col_transition 2024-01-05 17:59:13 +02:00
Kristofers Solo
dec7c4d0e0 feat(ai): add get_row_transition 2024-01-05 17:59:13 +02:00
Kristofers Solo
b762fe6774 refactor(ai): tests 2024-01-05 17:43:27 +02:00
Kristofers Solo
aca113f562 refactor(ai): get_peaks 2024-01-05 17:43:27 +02:00
Kristofers Solo
1ce17c43ba refactor(ai): add max and sum peaks
refactor(ai): mean -> sum
2024-01-05 17:43:27 +02:00
Kristofers Solo
85254c5724 feat(ai): add get_peaks unittests 2024-01-05 17:43:27 +02:00
Kristofers Solo
bd4f30b1b5 refactor(utils, ai): move chekpoint configs 2024-01-05 17:13:57 +02:00
Kristofers Solo
bbdb824e52 feat(ai): add get_peaks 2024-01-05 17:13:23 +02:00
Kristofers Solo
4a985b7e01 refactor(ai): move fitness.py 2024-01-05 17:13:03 +02:00
Kristofers Solo
b877fc2a59 ignore chekpoints/ 2024-01-05 16:35:10 +02:00
Kristofers Solo
0e5e502898 feat(ai): add checkpoint path as argument on launch 2024-01-05 16:34:26 +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
daadaeb2c6 feat(ai): add fitness calculation function templates 2024-01-05 16:22:43 +02:00
Kristofers Solo
90eac234ec fix(ai): next figure 2024-01-05 16:22:14 +02:00
Kristofers Solo
4e46047243 feat(utils, ai): set AI paths in Config 2024-01-05 16:21:59 +02:00
Kristofers Solo
845f2bd024 feat(ai): add plot 2024-01-05 15:51:53 +02:00
Kristofers Solo
64f14d178f refactor(ai): adjust the fitness calculation 2024-01-05 15:51:35 +02:00
Kristofers Solo
43fb1eb8d2 refactor(ai)
refactor(ai)

refactor(ai)

adjust ai
2024-01-05 02:47:34 +02:00
Kristofers Solo
33554bf0e0 feat(game): add mute 2024-01-04 18:51:06 +02:00
Kristofers Solo
9aae271bf4 feat(ai): add io 2024-01-04 18:48:42 +02:00
Kristofers Solo
a880dd45fd fix(game): reset
refactor(game): add type hints
2024-01-04 18:46:10 +02:00
Kristofers Solo
c16c031ae2 feat(ai): add fitness calculation 2024-01-04 18:45:09 +02:00
Kristofers Solo
a49f03248f feat(ai): add genome evaluation function 2024-01-04 18:42:43 +02:00