public Game() {
		super("Checkers");
		setSize(WIDTH, HEIGHT);
		setLocationRelativeTo(null); //lo centra nello schermo
		this.board = new Board();
		this.black=new Cpu(Board.BLACK, board);
		
		setLayout(new GridLayout(8,8));
		
		setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);

		addWindowListener(new WindowListener() {

			@Override
			public void windowActivated(WindowEvent e) {
			}
			
			@Override
			public void windowClosed(WindowEvent e) {
			}
			
			@Override
			public void windowClosing(WindowEvent e) {
				checkExit.setVisible(true);
			}
			
			@Override
			public void windowDeactivated(WindowEvent e) {
			}
			
			@Override
			public void windowDeiconified(WindowEvent e) {
			}
			
			@Override
			public void windowIconified(WindowEvent e) {
			}
			
			@Override
			public void windowOpened(WindowEvent e) {
			}
		
		});
		
		turnChanger = new TurnChanger(new Player(Board.WHITE,board),black);
		showBoard(true);
		initializeSound();
	}