Please enable JavaScript.
Coggle requires JavaScript to display documents.
PTCG AI challenge, now(state) - Coggle Diagram
PTCG AI challenge
game.py
_get_battle_data
use to get current state
return observation
battle_start
讀卡牌資訊
return 賽局資訊、開始的資訊
battle_finish
結束遊戲
沒有return
battle_select
選擇動作
return 選擇後的賽局情況
visualize_data
可視化賽局過程
return 賽局過程
api.py
class
areaType
牌的地方編號
EnergyType
能量種類的編號
cardType
牌種類的編號
specialConditionType
特殊狀態的編號
SelectType
選擇種類編號
now(state)
search_step(option1)
search_step(optionA)
turnplayer(evaluate)
1000
search_step(optionB)
search_step(optionㄅ)
turnplayer(evaluate)
600
search_step(optionㄆ)
turnplayer(evaluate)
800
search_step(optionC)
turnplayer(evaluate)
900
search_step(option2)
search_step(optionA)
search_step(optionㄅ)
turnplayer(evaluate)
300
search_step(optionㄆ)
turnplayer(evaluate)
400
search_step(optionB)
turnplayer(evaluate)
70
search_step(option3)
turnplayer(evaluate)
100