mirror of
https://github.com/kristoferssolo/Tetris.git
synced 2025-10-21 20:00:35 +00:00
fix(ai): next figure
This commit is contained in:
parent
4e46047243
commit
90eac234ec
@ -29,7 +29,7 @@ def eval_genome(genome: neat.DefaultGenome, config: neat.Config) -> float:
|
|||||||
|
|
||||||
next_figure: list[int] = [
|
next_figure: list[int] = [
|
||||||
vec
|
vec
|
||||||
for vec in app.game.get_next_figure().value.shape
|
for vec in app.next_figures[0].value.shape
|
||||||
for vec in (int(vec.x), int(vec.y))
|
for vec in (int(vec.x), int(vec.y))
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user