Skip to content

Conversation

JBoshart
Copy link

This is Jillian and Adriana's Scrabble project.

We spent a lot of time stuck at Wave 2, but broke through that barrier on the last day of work. Wave 3 is currently incomplete. We were able to create the TileBag methods, but unable to test all of their properties. We also did not have time to update the Player class for the Wave 3 requirements.

dri19tcc and others added 30 commits March 7, 2016 16:52
… passing currently. Added scoring constants within the self.score(word) method test, still need to add them in the scoring class itself.
…our code return an array of characters. Tests pass.
…to pull each letter from array and give it a score value.
… working we have removed the tests asserting the split. We have moved on to making the score method start to actually score the letters in the array we have made. Currently, there is some jerk code up in there.
… score. Modified scoring-spec.rb to test out different cases.
…o grow with our code. Made all letters downcase so case is not an issue
…that it had a key value pair that was passed to the test. In lib/scoring.rb, we updated the code to run it with the simplest case of returning the word with the highest score.
…l good working tests. Completed work on our highest_scoring_word method, to include the requirement for the top scoring 7 letter word to be the returned value, as well as the FIRST instance of a 7 letter word tie to be returned.
… plays method, tested if it exists, and started next test for it to actually do something.
…d researching assert_not_nil. Trying to get tests to fail since not existing yet
…look at. Added an instance of player in order to finally call methods correctly. Started working on play(words) method, which will eventually push words into the array in plays method.
…y array so that we could push in a word that was used and save it in played words. Updated the play(word) method so that we can get the played words and then push it the plays method where we then store our words in an instance variable @words.
…plays method. Started work on the 'returns false if player has won' requirement.
…alking to the scoring.rb in the Scoring Class to get the score. Separated each test so they are their own fails.
…f WIN CONDITION is met. Added in an if statement in play(word) method to return false if the player has won.
… max and max_by in a hash. Should be returning the highest scoring word, currently returning nil. Not sure why. We're not entirely comfortable in our understanding of hashes and enumerables.
JBoshart and others added 9 commits March 11, 2016 13:15
…core method and tests. Shaved some yaks creating tilebag.rb and the accompanying spec for it
… method, however, we are confident that the method works. Started work on tiles_remaining test. It should be good, once write the method.
…t, so that we had less to look at while raking.
… if the words being scored contained any character that was not a letter, so I wrote it. I checked with Adriana to make sure it was cool with her if I pushed this to our repo, and she said it was. Thanks, Adriana!
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