MCPcopy Create free account
hub / github.com/bupticybee/TexasSolver / get_commit

Method get_commit

src/tools/Rule.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18float Rule::get_commit(int player) {
19 if (player == 0) return this->ip_commit;
20 else if(player == 1) return this->oop_commit;
21 else throw runtime_error("unknown player");
22}

Callers 1

get_possible_betsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected