Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def convert_json_to_game_frames(filename):
- with open(filename, encoding='utf-8', errors='ignore') as json_file:
- _json = json.load(json_file)
- print(_json)
- game = Game()
- game.initialize(loaded_json=_json)
Advertisement
Add Comment
Please, Sign In to add comment