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 |
|
Kristofers Solo
|
858d2a98fc
|
feat(game): expose some methods
|
2024-01-04 18:42:28 +02:00 |
|
Kristofers Solo
|
96802195cb
|
feat(ai): add config
|
2024-01-04 18:33:03 +02:00 |
|
Kristofers Solo
|
932dea1676
|
feat(ai): add training func
|
2024-01-04 18:29:40 +02:00 |
|
Kristofers Solo
|
1ead412528
|
feat(game): add rotation direction
style: change docstrings
|
2024-01-04 17:43:18 +02:00 |
|
Kristofers Solo
|
b4157ef8b0
|
feat(game): add drop option
|
2024-01-04 17:19:55 +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
|
918e832862
|
refactor(game): broke Main into smaller methods
|
2024-01-04 06:51:03 +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
|
a294ba4e90
|
feat(game): add game over and restart methods
|
2024-01-04 06:34:29 +02:00 |
|
Kristofers Solo
|
384a4d8d74
|
feat(game): add scoring mechanic
|
2024-01-04 06:29:18 +02:00 |
|
Kristofers Solo
|
ee179036e2
|
feat(game): display text
|
2024-01-04 05:57:39 +02:00 |
|
Kristofers Solo
|
99f316d35a
|
feat: add fonts
|
2024-01-04 05:57:21 +02:00 |
|
Kristofers Solo
|
3962ad4e14
|
feat(game): increase down speed on key press
|
2024-01-04 05:36:00 +02:00 |
|
Kristofers Solo
|
3b4865b8a1
|
feat(game): positions next figure images
|
2024-01-04 05:26:29 +02:00 |
|
Kristofers Solo
|
e5475e6e5f
|
feat(game): preview next figure images
|
2024-01-04 05:22:18 +02:00 |
|
Kristofers Solo
|
738627d409
|
feat(game): add figure images
|
2024-01-04 05:18:11 +02:00 |
|
Kristofers Solo
|
aa96feb93b
|
style(game): rename shape to figure
|
2024-01-04 04:59:37 +02:00 |
|
Kristofers Solo
|
29c0460fb2
|
feat(game): add generation of next Figures
|
2024-01-04 04:58:00 +02:00 |
|
Kristofers Solo
|
2c040b4575
|
feat(game): add figure rotation
|
2024-01-04 04:46:50 +02:00 |
|
Kristofers Solo
|
2df1c0a156
|
feat(game): add full row disappearance and movement
|
2024-01-04 04:24:49 +02:00 |
|
Kristofers Solo
|
976f7d51cd
|
feat(game): add horizontal block collision
|
2024-01-04 03:59:37 +02:00 |
|
Kristofers Solo
|
e68abf8f94
|
feat(game): add vertical block collision
|
2024-01-04 03:56:45 +02:00 |
|
Kristofers Solo
|
a211dd0254
|
feat(game): generate new figure
|
2024-01-04 03:20:52 +02:00 |
|
Kristofers Solo
|
5a12de0c88
|
feat(utils): add enum options
|
2024-01-04 03:14:52 +02:00 |
|
Kristofers Solo
|
dbc445b323
|
feat(game): add horizontal border
|
2024-01-04 03:14:52 +02:00 |
|
Kristofers Solo
|
d28f24cf0a
|
feat(game): add vertical borders
style(game): rename method
style(game): wrong method name
style(game): fix wrong method name
|
2024-01-04 03:14:52 +02:00 |
|
Kristofers Solo
|
684f5ba196
|
refactor(game): use Direction enum
|
2024-01-04 03:14:52 +02:00 |
|