public static boolean gameOver(Board board){
        if (board.whoWon() != null) {
            System.out.println("\n" + board.whoWon() + " won the game!");
            System.out.println("Wining move: " + board.getWinningMove());
            System.out.println(board);
            
            Integer winCount = gamesToWinsMap.get(board.whoWon());
            winCount = winCount == null ? 1 : winCount + 1;
            
            gamesToWinsMap.put(board.whoWon(), winCount);
        
            return true;
            
        } else if (board.movesLeft() == 0) {
            
            Integer tieCount = gamesToWinsMap.get(TIE);
            tieCount = tieCount == null ? 1 : tieCount + 1;
            gamesToWinsMap.put(TIE, tieCount);
            
            return true;
        }
        
        return false;
    }