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

Method Player

AgentBench.old/src/tasks/card_game/logic/src/player.cpp:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "player.h"
2
3Player::Player(int _id):id(_id){
4 my_fish = FishSet(1);
5 my_fish.player_id = _id;
6 fight_fish = FishSet();
7 fight_fish.player_id = _id;
8}
9
10Player::Player(int _id, FishSet _my_fish):id(_id),my_fish(_my_fish){
11 my_fish = FishSet(1);

Callers

nothing calls this directly

Calls 1

FishSetClass · 0.70

Tested by

no test coverage detected