Lines of Action is a two player strategy board game where each player aims to connect all his/her checkers
into one group. The board is a standard 88 chessboard. The game starts with each player having 12
checkers. The black checkers are placed horizontally on the two rows along the top and bottom of the
board, while the white checkers are placed vertically on the two columns at the left and right of the
board. The 2 players alternate at moving their checkers in the three lines of action: vertical, horizontal
and diagonal. The first player to get all her/his checkers into a single connected group wins.
rules of game
1. Players alternate turns. The white moves rst.
2. Checkers move in the 3 lines of action: horizontally, vertically, or diagonally.
3. The number of squares moved by a checker must be exaclty the same as the number of checkers
(belonging to both players) in that line of action.
4. A checker belonging to a player may jump over other checkers belonging to that player, but it may
not jump over checkers belonging to the opponent.
5. A checker captures an opponent's checker by landing on it.
**game over
The first player to connect all her/his checkers into a single group is the winner.
2. If one player is reduced by captures to a single piece, that is a win for the captured player.
3. If a move lead to both players being winners, the player who made that move is the winner.
--- Update ---
i have problem with the method GameOver i used recrusion method but it doesn't work on the tests
recrusion method to check the 8 directions around the given point on the 2D array
any idea
--- Update ---
Norm can you help me