change history of GameStorage to calculations and remove snake_start add constrictor test in test_run scripts

This commit is contained in:
2024-04-14 21:31:32 +02:00
parent ae1489240d
commit 1154127a40
2 changed files with 6 additions and 4 deletions
+1 -2
View File
@@ -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,