added unittest for seeding gamestate generation
fixed bug in gamestate.get_logistic_plan
This commit is contained in:
parent
f03b9d51b5
commit
6946ce9957
2 changed files with 19 additions and 0 deletions
|
@ -77,6 +77,8 @@ Logistic Centers: {self.logistic_center}"""
|
|||
for i in range(0, len(self.logistic_plan) - 1):
|
||||
self.logistic_center[self.logistic_plan[i]][self.logistic_plan[i + 1]] += 1
|
||||
|
||||
self.logistic_plan = [x + 10 for x in self.logistic_plan]
|
||||
|
||||
def get_heuballen(self) -> int:
|
||||
return self.heu_color
|
||||
|
||||
|
|
Reference in a new issue