MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / is_valid_fish_id

Method is_valid_fish_id

AgentBench.old/src/tasks/card_game/logic/src/fish.cpp:82–85  ·  view source on GitHub ↗

TODO: 完成判断ID合法

Source from the content-addressed store, hash-verified

80
81// TODO: 完成判断ID合法
82bool Fish::is_valid_fish_id(int id){
83 if (id < 1 || id > 12) return false;
84 else return true;
85}
86
87int Fish::update_timestamp(){
88 ally->timestamp ++;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected