commenting

This commit is contained in:
lrave 2025-05-16 11:27:12 +02:00
parent d734e3f13d
commit a2567d48a5
1 changed files with 2 additions and 2 deletions

View File

@ -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