public static int dealTableCards() {
        int turn = 0;
        // River
        if (theGame.getTableCards()[3] != null && theGame.getTableCards()[4] == null) {
            // Burn a card
            theGame.getDeck().drawCard();
            theGame.getTableCards()[4] = theGame.getDeck().drawCard();
            turn = 3;
        } else if (theGame.getTableCards()[2] != null && theGame.getTableCards()[3] == null) {
            // Burn a card
            theGame.getDeck().drawCard();
            theGame.getTableCards()[3] = theGame.getDeck().drawCard();
            turn = 2;
        } else if (theGame.getTableCards()[0] == null) {
            // Burn a card
            theGame.getDeck().drawCard();
            for (int i = 0; i < 3; i++) {
                theGame.getTableCards()[i] = theGame.getDeck().drawCard();
            }
            turn = 1;
        } else {
            turn = 4;
        }

        return turn;
    }