change history of GameStorage to calculations and remove snake_start add constrictor test in test_run scripts
This commit is contained in:
@@ -42,12 +42,11 @@ class GameStorage:
|
||||
save_file(os.path.join(self.folder, path), {
|
||||
"snake": {
|
||||
"type": self.snake_type,
|
||||
"choices": self.snake_history,
|
||||
"calculations": self.snake_history,
|
||||
},
|
||||
"game": {
|
||||
"type": self._get_type_of_gameboard(),
|
||||
"infos": self.game_type,
|
||||
"snake_start": self.start_position,
|
||||
"final_turns": self.final_turns,
|
||||
"gameboard": self.game_board,
|
||||
"my_moves": self.moves,
|
||||
|
||||
Reference in New Issue
Block a user