Overview

Scramble is a Scrabble-clone game that is written in Java. The board and overall display of the game is rendered by the JavaFX GUI.

The purpose of the game is for players to form interlocking words on the game board using letter tiles of different values. The game is over when there are no more tiles left in the bag- the player with the most points wins.

Implemented Features:

Class Diagram of Scramble:

Design Patterns

The TileSet class represents all the potential Scrabble letter tiles from which players receive random letters. There ca only be one instance of this class for each game and it is a shared resource among several classes.

The DictionarySearch class represents the entire Oxford English dictionary. This class primarily reads in a text file containing all the words in the dictionary and allows other classes to check if a word exists in the dictionary.

Walk-through

The welcome screen looks like the following:

When the “Begin” button is clicked, the following screen pops up:

When at least two players have entered their names and clicked “Let’s Play!”, the board is displayed:

Key Takeaways