Skip to content

Conversation

@jlikesplants
Copy link

Sophia Baldonado & Justine Winnie

No external dependencies

We did realize that we didn't write enough tests for the Player class- just ran out of time refactoring other things.

We were super pleased by the way we generated the array we used in TileBag - the code is commented out but we made the array with a hash, and it was very efficient.

We also learned through some very bizarre and unnerving test errors that one ought not to use constants in one's tests- or, at least not the way we were.

sophiabaldonado and others added 26 commits March 7, 2016 17:01
…a given letter, refactored tests accordingly.
…d score method to total the points from the word;
…ble to preserve original orders of test arrays. Tested.
…ords_play), won?, and play methods. Corresponding tests.
…al_score method in Player class; Added comments showing method return values for clarity;
…ted draw_tiles method to select a number of tiles from the array;
…instance of TileBag and puts them in a player_tiles array;
…e tiles are removed from the available letters. Fixed tests.
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