commenting
This commit is contained in:
parent
d734e3f13d
commit
a2567d48a5
|
|
@ -5,8 +5,8 @@ import java.util.ArrayList;
|
|||
import java.util.Scanner;
|
||||
|
||||
public class Board {
|
||||
private final Scanner scanner = new Scanner(System.in);
|
||||
private int selectedX = -1; // negative value means impossible x and y so unselected
|
||||
private final Scanner scanner = new Scanner(System.in); // to be able to ask user input and analyze it (from library scanner)
|
||||
private int selectedX = -1; // negative value means impossible x and y that way before the first move, acts unselected
|
||||
private int selectedY = -1;
|
||||
|
||||
private int turnNumber = 0; // tracks current turn
|
||||
|
|
|
|||
Loading…
Reference in New Issue