public void windowDeactivated(WindowEvent arg0) {
			areax = game.getColumns()*2;
			areay = game.getRows();
			ships = game.getBoats();
			player1 = game.playerOne();
			player2 = game.playerTwo();
			placement = game.gameType();
			diagonal = game.levelType();
			marked = game.gameMode();
			grid1 = new TheGrid(areax/2, areay);
			grid2 = new TheGrid(areax/2, areay);
			grid1.resetGridOffset();
			grid2.resetGridOffset();

			if(placement != true && !player2.equals("Rofongo")) {
				JOptionPane.showMessageDialog(null, player2 + " enter your coordinates. \nExample: a1-b1");
				grid1.placeTheBoats(ships, diagonal);
				JOptionPane.showMessageDialog(null, player1 + " enter your coordinates. \nExample: a1-b1");
				grid2.placeTheBoats(ships, diagonal);
			}
			else if(placement == true && !player2.equals("Rofongo")) {
				RandomBoats.placeBoats(areax/2, areay, diagonal, ships, grid1);
				RandomBoats.placeBoats(areax/2, areay, diagonal, ships, grid2);
			}
			else if (placement == true && player2.equals("Rofongo")) {
				RandomBoats.placeBoats(areax/2, areay, diagonal, ships, grid1);
				RandomBoats.placeBoats(areax/2, areay, diagonal, ships, grid2);
			}
			else if (placement != true && player2.equals("Rofongo")) {
				RandomBoats.placeBoats(areax/2, areay, diagonal, ships, grid1);
				JOptionPane.showMessageDialog(null, player1 + " enter your coordinates. \nExample: a1-b1");
				grid2.placeTheBoats(ships, diagonal);
			}


			status = new Status(player1, player2);
			reset = true;
			repaint();
		}