This program implements a Boggle game between the user and the computer. Sixteen arrays of characters implement the letter dice. To begin the game, each die array is assigned a random index and position on the board to simulate shaking them. The user is then given to chance to form words of four letters or more on the board, which the program validates against the board and scores accordingly. Once the user has finished, the computer uses a recursive algorithm to explore every possible legal path on the Boggle board, validating the resulting string of each path against a dictionary text file to ensure a valid English word and eliminating any words that the user has already found. The computer is then scored, and the player with the highest score wins.
-
Notifications
You must be signed in to change notification settings - Fork 0
An interactive game of traditional 4x4 Boggle between the user and the computer with a graphical interface. The user takes a turn forming as many valid English words of 4 letters or greater as possible. The computer then uses a recursive algorithm to find all remaining valid English words of 4 letters or greater. A solution to Assignment 4 (Bogg…
evanjehl/Boggle
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
An interactive game of traditional 4x4 Boggle between the user and the computer with a graphical interface. The user takes a turn forming as many valid English words of 4 letters or greater as possible. The computer then uses a recursive algorithm to find all remaining valid English words of 4 letters or greater. A solution to Assignment 4 (Bogg…
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published