new Readme
This commit is contained in:
parent
827a105f17
commit
cbed5f176b
4
main.py
4
main.py
@ -126,10 +126,8 @@ def game_loop():
|
|||||||
print(":>")
|
print(":>")
|
||||||
trash = multi_trash[0]
|
trash = multi_trash[0]
|
||||||
dis = [120,120]
|
dis = [120,120]
|
||||||
print(truck.pos)
|
dis_dump = distance(truck.pos,dis)
|
||||||
dis_dump = distance(dis,truck.pos)
|
|
||||||
dis_trash = distance(truck.pos, trash.pos)
|
dis_trash = distance(truck.pos, trash.pos)
|
||||||
print(dis_dump, dis_trash, truck.mass, truck.space, trash.mass, trash.space)
|
|
||||||
decision = tree.making_decision(decision_tree,
|
decision = tree.making_decision(decision_tree,
|
||||||
dis_dump // 12 + 1,
|
dis_dump // 12 + 1,
|
||||||
dis_trash // 12 + 1,
|
dis_trash // 12 + 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user