Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 923 Bytes

README.md

File metadata and controls

26 lines (24 loc) · 923 Bytes
1. This is checkers.
2. White goes first.
4. The only way to win is by killing all of the other players pieces.
    0   1   2   3   4   5   6   7 
  - - - - - - - - - - - - - - - - -
0 |   | w |   | w |   | w |   | w | 
  | - + - + - + - + - + - + - + - |
1 | w |   | w |   | w |   | w |   | 
  | - + - + - + - + - + - + - + - |
2 |   | w |   | w |   | w |   | w | 
  | - + - + - + - + - + - + - + - |
3 |   |   |   |   |   |   |   |   | 
  | - + - + - + - + - + - + - + - |
4 |   |   |   |   |   |   |   |   | 
  | - + - + - + - + - + - + - + - |
5 | b |   | b |   | b |   | b |   | 
  | - + - + - + - + - + - + - + - |
6 |   | b |   | b |   | b |   | b | 
  | - + - + - + - + - + - + - + - |
7 | b |   | b |   | b |   | b |   | 
  - - - - - - - - - - - - - - - - -
Put in your input as curRow, curCol, newRow, newCol. Eg. is you want to move your piece from 5, 0 to 4, 1 then you would put in (5, 0, 4, 1)