Skip to content

Feature One !introduce Feature Two !blackjack#74

Open
NicholasFal wants to merge 13 commits intodevelopmentfrom
NicholasFeatureOne
Open

Feature One !introduce Feature Two !blackjack#74
NicholasFal wants to merge 13 commits intodevelopmentfrom
NicholasFeatureOne

Conversation

@NicholasFal
Copy link
Collaborator

The bot will introduce itself and explain what it can do.

Play a game of blackjack with the bot where your goal is to get as close as possible to 21 by drawing random cards. Try to see if you can beat the bot! Write !blackjack to start, !blackjack hit to hit, and !blackjack stand to stand.

Copy link
Collaborator

@YeetMaster467 YeetMaster467 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall good features, some features are intertangled with others (i.e. HighLow and Blackjack) You should also provide more clarity in naming your classes. Other than those your code looks pretty good. 👍

addFeature(new NewsApi(channelName));
addFeature(new CatFactsApi(channelName));
//MINE
addFeature(new FeatureOne(channelName));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add distinct names for your features, if someone else uses the name FeatureOne etc. they could override yours.

public class HighLowGame extends Feature {

public final String COMMAND = "!highLow";
public final String COMMAND = "!HighLowGame";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Separate your blackjack from your HighLowGame. Even though you have your own blackjack class, you should remove the elements of blackjack from HighLow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants