<commit_before>package Logics;
import Logics.coord.Coord;
import com.sun.org.apache.xpath.internal.operations.Bool;
import javafx.animation.Animation;
import javafx.animation.PauseTransition;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.input.*;
import javafx.scene.layout.*;
import javafx.scene.control.TextField;
import javafx.scene.text.Font;
import javafx.scene.text.FontWeight;
import javafx.scene.shape.Rectangle;
import javafx.scene.paint.Color;

import javafx.scene.image.ImageView;
import javafx.scene.text.Text;
import javafx.util.Duration;

import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.sql.PreparedStatement;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Scanner;

public class Game {
  HashMap<String,Image> map_img = new HashMap<>();
  ArrayList<ImageView> ships_img = new ArrayList<>();
  Boolean clearBut = false;
  GridPane board = new GridPane();
    {board.setPrefSize(10, 10);}
  StackPane all_fleet = new StackPane();
  Pane fleet_h = new Pane();
  Pane fleet_v = new Pane();
  StackPane[][] water = new StackPane[10][10];
  private byte cur_sizeS;
  private char cur_dir;
  Boolean first_click_auto = true;
  StackPane pointer = new StackPane();
    TextField namePlayer = new TextField();

    public Game() {
        try(InputStream ot = Files.newInputStream(Paths.get("res/images/Ordinary_Tile_2.png"));
            InputStream us = Files.newInputStream(Paths.get("res/images/Unbroken_Ship_2.png"));
            InputStream ft = Files.newInputStream(Paths.get("res/images/Focus_Tile.png"));
            InputStream dt = Files.newInputStream(Paths.get("res/images/Dead_Tile_2.png"));
            InputStream ds = Files.newInputStream(Paths.get("res/images/Destroyed_Ship_3.png"));
            InputStream nb = Files.newInputStream(Paths.get("res/images/Num_Board.png"));
            InputStream lb = Files.newInputStream(Paths.get("res/images/Let_Board.png"));
            InputStream car_h = Files.newInputStream(Paths.get("res/images/ships/Car_hor.png"));
            InputStream car_v = Files.newInputStream(Paths.get("res/images/ships/Car_ver.png"));<commit_msg>removing unnecessary operations import in Game class<commit_after>package Logics;
import Logics.coord.Coord;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.image.Image;
import javafx.scene.input.*;
import javafx.scene.layout.*;
import javafx.scene.control.TextField;
import javafx.scene.text.Font;
import javafx.scene.text.FontWeight;
import javafx.scene.shape.Rectangle;
import javafx.scene.paint.Color;
import javafx.scene.image.ImageView;
import javafx.scene.text.Text;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.HashMap;

public class Game {
  HashMap<String,Image> map_img = new HashMap<>();
  ArrayList<ImageView> ships_img = new ArrayList<>();
  Boolean clearBut = false;
  GridPane board = new GridPane();
    {board.setPrefSize(10, 10);}
  StackPane all_fleet = new StackPane();
  Pane fleet_h = new Pane();
  Pane fleet_v = new Pane();
  StackPane[][] water = new StackPane[10][10];
  private byte cur_sizeS;
  private char cur_dir;
  Boolean first_click_auto = true;
  StackPane pointer = new StackPane();
    TextField namePlayer = new TextField();

    public Game() {
        try(InputStream ot = Files.newInputStream(Paths.get("res/images/Ordinary_Tile_2.png"));
            InputStream us = Files.newInputStream(Paths.get("res/images/Unbroken_Ship_2.png"));
            InputStream ft = Files.newInputStream(Paths.get("res/images/Focus_Tile.png"));
            InputStream dt = Files.newInputStream(Paths.get("res/images/Dead_Tile_2.png"));
            InputStream ds = Files.newInputStream(Paths.get("res/images/Destroyed_Ship_3.png"));
            InputStream nb = Files.newInputStream(Paths.get("res/images/Num_Board.png"));
            InputStream lb = Files.newInputStream(Paths.get("res/images/Let_Board.png"));
            InputStream car_h = Files.newInputStream(Paths.get("res/images/ships/Car_hor.png"));
            InputStream car_v = Files.newInputStream(Paths.get("res/images/ships/Car_ver.png"));
{'fraction_non_alphanumeric': 0.1256771397616468, 'fraction_numerical': 0.005200433369447454, 'mean_word_length': 4.475682087781732, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4079432', 'n_tokens_mistral': 1428, 'n_tokens_neox': 1393, 'n_words': 279}