MCPcopy Create free account
hub / github.com/dds-bridge/dds / undo_0_simple

Function undo_0_simple

library/src/ab_search.cpp:1047–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1045
1046
1047void undo_0_simple(
1048 Pos * posPoint,
1049 const int depth,
1050 const MoveType& mply)
1051{
1052 int h = HAND_ID(posPoint->first[depth], 3);
1053 int s = mply.suit;
1054 int r = mply.rank;
1055
1056 posPoint->aggr[s] |= bit_map_rank[r];
1057 posPoint->hand_dist[h] += handDelta[s];
1058}
1059
1060
1061void undo_1(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected