@Override
    public Deck getCommunityCards() {
        if (community.isEmpty()) {
            return new Deck();
        } else if (!doneFlop || community.size() < 3) {
            return new Deck(community.subList(0, 1));
        } else if (!doneTurn || community.size() < 4) {
            return new Deck(community.subList(0, 3));
        } else if (!doneRiver || community.size() < 5) {
            return new Deck(community.subList(0, 4));
        } else {
            return new Deck(community);
        }
    }