Skip to content

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…

Notifications You must be signed in to change notification settings

evanjehl/Boggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

No packages published

Languages