Project shows simulation of Battleship game between two players. "AI" creates and sets ships on the board randomly. The game engine runs the game and shot randomly betweeen players. If it shoot succesfully (hit the ship or ship's part) the next shots will be in around of this area. When element (ship or ship's part) hit, then change color to red. Every shot is notice on the board using '*' sign. The "AI" never selects the same point again. In GlobalRules class you can declare maximum quantity of each-elements ships. In InitClass whereas you can set Rows,Columns and personalize player's UI.
Projekt symulacji gry w Statki pomiędzy dwoma graczami. "SI" tworzy i umieszcza statki losowo na planszy. Silnik gry prowadzi grę i wykonuje losowe strzały w jednego i drugiego gracza. Jeśli trafi on celnie w punkt (statek lub jego część) to następny strzał zostanie wykonany dookoła tego punktu. Kiedy element (statek lub jego część) zostaje zestrzelona to zmienia on kolor na czerwony. Każdy oddany strzał zostaje zaznaczony znakiem '*'. "SI" nigdy nie wykona strzału w ten sam punkt. W klasie GLobalRules można ustawić maksymalną ilość poszczególnych statków. W InitialClass natomiast można ustawić ilość wierszy i kolumn oraz ustawić kolorystyke UI gracza.