Skip to content

Adriana and Lisa's WordGuess Game!#4

Open
Lisa-Sano wants to merge 22 commits intoAda-C5:masterfrom
dri19tcc:master
Open

Adriana and Lisa's WordGuess Game!#4
Lisa-Sano wants to merge 22 commits intoAda-C5:masterfrom
dri19tcc:master

Conversation

@Lisa-Sano
Copy link
Copy Markdown

Adriana Cannon and Lisa Rolczynski worked on this.

Requires the following gems: colorize, rainbow, and artii.

Our game has "easy" or "normal" mode. Easy mode provides all the vowels in the word.

dri19tcc and others added 22 commits February 25, 2016 13:24
Instance variable @word gets a random word from an existing word list using a get_word method.
Tests that a word object can be created and a word randomly assigned to it.
…rray. Pushed used letters into the empty array. Added rules, got user letter input.
…word method to include a call to add_to_wrong_letters.
…d regex to check if it's a letter. Updated list of words.
…, repeat letter added. highlighted game board, added a word.
Comment thread word_guess.rb
def get_word #using this method to use in initialize to call array
list_of_words = ["development", "digestion", "window", "yesterday", "separate", "disease", "carriage", "punishment", "transport", "tomorrow", "instrument", "competition", "representative",
"achievement", "stomach", "observation", "tendency", "building", "business", "attention", "attraction", "behavior", "questionnaire", "susceptible", "lollipop", "elephant", "hotdog", "awesome",
"kilometer", "treasure", "dominoes", "electricity", "lightsaber", "battery", "circumference", "eloquent", "impeccable", "meticulous", "predilection", "superfluous", "vociferous", "zenith"].shuffle #shuffle the array so it's different each time
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I see the .shuffle call at the end here, but it would be easier to read if you added this method call on a separate line below

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.

3 participants