placement of the pieces on the board
This commit is contained in:
parent
85d0f8f769
commit
42a3089d12
|
|
@ -29,7 +29,7 @@ public class Board {
|
|||
turn = 0; // initializing turn at 0
|
||||
for (int i = 0; i<=n; i++) { // starting the loop for the counter
|
||||
turn += 1; // Add +1 to turn for the counter after each pawns moved
|
||||
} // end of the loop
|
||||
} // end of the loops
|
||||
return turn; // return the value of the counter
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue