doc:update readme

This commit is contained in:
Kylin_on_Mac
2023-11-10 16:33:46 +08:00
parent 4eebd3d055
commit 8ed657e45c
2 changed files with 69 additions and 39 deletions

View File

@ -1,4 +1,5 @@
import random
from pprint import pprint
import orjson
import pygame
@ -12,8 +13,8 @@ class MLPlay:
"""
Generate the command according to the received scene information
"""
# print("AI received data from game :", orjson.dumps(scene_info))
# print(scene_info)
# pprint("AI received data from game :", orjson.dumps(scene_info))
# pprint(scene_info)
actions = []
if pygame.K_w in keyboard or pygame.K_UP in keyboard: