Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

terminate called after throwing an instance of 'UsedPieceException'
  what():  SECO is already used.

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is -6, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

    1    2    3    4
  +----+----+----+----+
a |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+
b |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+
c |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+
d |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+

Available:
SB SB SB SB SE SE SE SE TB TB TB TB TE TE TE TE
CH CO QH QO CH CO QH QO CH CO QH QO CH CO QH QO

Player 1's turn to select a piece:
Enter a piece:SBQH selected.

Player 2's turn to select a square:
C2 selected.

    1    2    3    4
  +----+----+----+----+
a |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+
b |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+
c |    | SB |    |    |
  |    | QH |    |    |
  +----+----+----+----+
d |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+

Available:
SB SB SB SE SE SE SE TB TB TB TB TE TE TE TE
CH CO QO CH CO QH QO CH CO QH QO CH CO QH QO

Player 2's turn to select a pie

JOJ Answer

    1    2    3    4
  +----+----+----+----+
a |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+
b |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+
c |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+
d |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+

Available:
SB SB SB SB SE SE SE SE TB TB TB TB TE TE TE TE
CH CO QH QO CH CO QH QO CH CO QH QO CH CO QH QO

Player 1's turn to select a piece:
Enter a piece:SBQH selected.

Player 2's turn to select a square:
A3 selected.

    1    2    3    4
  +----+----+----+----+
a |    |    | SB |    |
  |    |    | QH |    |
  +----+----+----+----+
b |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+
c |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+
d |    |    |    |    |
  |    |    |    |    |
  +----+----+----+----+

Available:
SB SB SB SE SE SE SE TB TB TB TB TE TE TE TE
CH CO QO CH CO QH QO CH CO QH QO CH CO QH QO

Player 2's turn to select a pi