Open JiggsUK opened 5 years ago
I'll make a couple of suggestions for current_game_state 1a to get the ball rolling:
For this issue, a user should be given a random tiles. Seven, I believe. They should have the same number of tiles at all times. We will need a custom sort function which will build on or previously written text code which simply evaluated a text score. Let's say I'm playing from the word PHOTO: I have ABCGRAPH. The best word is PHOTOGRAPH. This should--at the very least--evaluate the score and give you the option to play the word using buttons. Words should be played perpendicularly and horizontally. When calculating scores: If 'P' in the word PHOTO is a double word score, the score is double. Rules must be followed likewise.
Covers the setup of the game board and functions that require user input.
Function:
current_game_state
Purpose: Allows user to enter the current state of play in their game Acceptance Criteria:word_validation
checks, also need more validation of word input that includes checking: a. start/stop location is not off the board b. the word will fit in the location the user givesFunction:
score_calculator
Purpose: Asks for word to be scored and location, validates it, checks for perpendicular words on the board and multipliers, calls multiplier_score to calculate Acceptance Criteria:Function:
perpendicular_word_finder
Purpose: Finds any additional words that are formed from placing the user word. Acceptance Criteria: