Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Boggle TrieProject incorporates a TRIE structure containing a word list. The "Boggle" portion presents a 4x4 matrix of characters. The game is played in 2 phases.WE WILL ONLY FOCUS ON PHASE 2 FOR THIS...

1 answer below »
Boggle Trie
Project incorporates a TRIE structure containing a word list. The "Boggle" portion presents a 4x4 matrix of characters. The game is played in 2 phases.

WE WILL ONLY FOCUS ON PHASE 2 FOR THIS ASSIGNMENT. We will simulate by having a loop ask a "user" for a word to check (instead of building a word from the Boggle game).
The response is simply "Yes/No" as to whether the user-suppliedwordis present.

  • Phase 1: The player attempts to construct a word by using adjacent characters in the grid. Each character may be used only once in the word. These words are then scored as +3 point if they are in a word list/dictionary and -1 if they are not (to discourage wild guesses). Each word attempt must be minimally 3 characters long. Repeated words will not be scored (only the first attempt scores).
  • Phase 2: The player's "guessing phase" is over. This phase consists of the game constructing all the possible words the playershould have foundin the supplied matrix. This display will only show those words not already guessed by the player.
Answered Same Day Dec 21, 2022

Solution

Karthi answered on Dec 21 2022
30 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here