Record Case Detail

Notes

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

Stderr


        

Your Answer

This test case tests isValidMove()
   a   b   c   d   e   f   g   h 
 +---+---+---+---+---+---+---+---+
1|   |   |   |   |   |   |   |   |
 +---+---+---+---+---+---+---+---+
2|   |   | X | ` |   |   |   |   |
 +---+---+---+---+---+---+---+---+
3|   | X | O | O | ` |   |   |   |
 +---+---+---+---+---+---+---+---+
4| X | O | ` | O | X |   |   |   |
 +---+---+---+---+---+---+---+---+
5| ` | O | O | X | O | ` |   |   |
 +---+---+---+---+---+---+---+---+
6| X | ` | O |   | ` |   |   |   |
 +---+---+---+---+---+---+---+---+
7|   | ` | X | ` |   |   |   |   |
 +---+---+---+---+---+---+---+---+
8|   |   |   |   |   |   |   |   |
 +---+---+---+---+---+---+---+---+
Black (X) Counts: 7
White (O) Counts: 8
====================================
isValidMove(board,-1,-1): 0
isValidMove(board,3,2) :1
isValidMove(board,7,7) :0

JOJ Answer

This test case tests isValidMove()
   a   b   c   d   e   f   g   h
 +---+---+---+---+---+---+---+---+
1|   |   |   |   |   |   |   |   |
 +---+---+---+---+---+---+---+---+
2|   |   | X | ` |   |   |   |   |
 +---+---+---+---+---+---+---+---+
3|   | X | O | O | ` |   |   |   |
 +---+---+---+---+---+---+---+---+
4| X | O | ` | O | X |   |   |   |
 +---+---+---+---+---+---+---+---+
5| ` | O | O | X | O | ` |   |   |
 +---+---+---+---+---+---+---+---+
6| X | ` | O |   | ` |   |   |   |
 +---+---+---+---+---+---+---+---+
7|   | ` | X | ` |   |   |   |   |
 +---+---+---+---+---+---+---+---+
8|   |   |   |   |   |   |   |   |
 +---+---+---+---+---+---+---+---+
Black (X) Counts: 7
White (O) Counts: 8
====================================
isValidMove(board,-1,-1): 0
isValidMove(board,3,2) :1
isValidMove(board,7,7) :0