Hex Sleuth Puzzle
Try to find the cells for which the numbers in the six surrounding
cells are all different. The highlighted cell below is an example.

Programming Assignment
Write an applet that will create and display Hex Sleuth puzzles.
The puzzle does not need to appear exactly as shown above, but
should be some similar easily readable format. The program should
generate random puzzles. In addition to numeric digits as in the
example above, the program should also create puzzles that use
characters, colors, symbols, or images to distinguish the cells.
Allow the player to attempt to solve the puzzle. Create a user
interface that allows the player to select a cell. Perhaps provide
feedback if the player
guesses incorrectly. Alternately, have a "Evaluate my
solution" button which will indicate if the player's solution is
correct. Perhaps a "difficulty" level would provide differing
levels of detailed feedback. Perhaps provide starting clue of how
many target cells are to be identified. Perhaps provide a hint of
some sort. Probably this game should be timed and award points
for speedy solutions. Another optional feature would be to allow
images or other alternate tile faces ("skins") instead of plain numbers.
Home