-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Covers the setup of the game board and functions that require user input.
- Create a new game board object for use in the below functions
Function: current_game_state
Purpose: Allows user to enter the current state of play in their game
Acceptance Criteria:
- Prompt user to enter any words that have already been played
a. consider how to locate where the word should go on the board - In addition to the
word_validationchecks, 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 gives - This will need to allow user to stop entering non-scoring words so they can move on to the word they want scored
Function: 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:
- Calculates score of any word formed additionally to the selected word.
- Must account for any multiplier tiles.
- Returns total score of perpendicular words formed, which can be added to the word score to form the total score for the given word
Function: perpendicular_word_finder
Purpose: Finds any additional words that are formed from placing the user word.
Acceptance Criteria:
- Returns collection of additional perpendicularly formed words for use in score calculation.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request