<commit_before>package is.ru.tictactoe;
import static spark.Spark.*;

import java.awt.Point;

public class Game {

	private Board board;
	private int turn;
	private boolean winner;
    private Player playerX;
    private Player playerO;

	public Game() {
		 board = new Board();
		 turn = 0;
		 winner = false;
         playerX = new Player('X');
         playerO = new Player('Y');
	}

	public void runGame() {

    }

	public void drawScreen() {

	}

	public boolean validInput(int input) {
        if(input >= 1 && input <= 9){
            Point point = convertToPoint(input);
            if (board.isFree(point)) {
                return true;
            }
            else
                return false;
        }
        return false;
    }

    public void insertIntoBoard(int input) {<commit_msg>Changed accidental 'Y' to 'O'<commit_after>package is.ru.tictactoe;
import static spark.Spark.*;

import java.awt.Point;

public class Game {

	private Board board;
	private int turn;
	private boolean winner;
    private Player playerX;
    private Player playerO;

	public Game() {
		 board = new Board();
		 turn = 0;
		 winner = false;
         playerX = new Player('X');
         playerO = new Player('O');
	}

	public void runGame() {

    }

	public void drawScreen() {

	}

	public boolean validInput(int input) {
        if(input >= 1 && input <= 9){
            Point point = convertToPoint(input);
            if (board.isFree(point)) {
                return true;
            }
            else
                return false;
        }
        return false;
    }

    public void insertIntoBoard(int input) {
{'fraction_non_alphanumeric': 0.10344827586206896, 'fraction_numerical': 0.003694581280788177, 'mean_word_length': 2.0036968576709797, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '237203', 'n_tokens_mistral': 498, 'n_tokens_neox': 458, 'n_words': 144}