Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cheetahs- Tasha C. #45

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Cheetahs- Tasha C. #45

wants to merge 15 commits into from

Conversation

tashach
Copy link

@tashach tashach commented Dec 7, 2022

No description provided.

Copy link

@nancy-harris nancy-harris left a comment

Choose a reason for hiding this comment

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

Excellent job! Great job taking on the optional wave!

@@ -1,15 +1,138 @@
export const drawLetters = () => {
// Implement this method for wave 1
const letterPool = {

Choose a reason for hiding this comment

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

Excellent!

};

export const usesAvailableLetters = (input, lettersInHand) => {
// Implement this method for wave 2
const scoreChart = {

Choose a reason for hiding this comment

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

Excellent!

};
// ------------ Wave 05---------------------------
class Adagrams {
static drawLetters() {

Choose a reason for hiding this comment

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

Excellent!

return lettersInHand;
}

static usesAvailableLetters(input, lettersInHand) {

Choose a reason for hiding this comment

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

Excellent!

return true;
}

static scoreWord(word) {

Choose a reason for hiding this comment

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

Excellent!

return score;
}

static highestScoreFrom(words) {

Choose a reason for hiding this comment

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

Excellent!

Comment on lines +120 to +122
expectScores({
"": 0,
});

Choose a reason for hiding this comment

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

Excellent!


throw "Complete test by adding an assertion";
expect(Adagrams.highestScoreFrom(words)).toEqual(correct);

Choose a reason for hiding this comment

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

Excellent!

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