can you tell me a another way to check the winner with connected checkers and i make in the move method if your destination is the opponent decrement the number of checkers of the opponent
Type: Posts; User: walid
can you tell me a another way to check the winner with connected checkers and i make in the move method if your destination is the opponent decrement the number of checkers of the opponent
sorry how can i post my code formatting
and what code can i posted the testing or my code
no will be 4 squares but the game Board is constant 8*8 my problem with the recursion method can you check it . i made another boolean array to check if this piece is counted turn it into true. ??!!
No it supposed to check the 8 squares everywhere in 2D array not only in the middle
--- Update ---
??
in method isGameOver i made a loop on boolean array to catch the first piece count around region in 8 direction . can you tell me another idea to count the around region to count the connected...
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...