Boxwords game

In this section we are going to develop a simple board game using the versatile Table component. Boxwords is a simple yet intriguing game, whose aim is to obtain the highest score by placing random letters in a grid. The player starts with an empty grid of twenty-five empty squares (5 x 5). At each turn, the application will show a random letter that the player must place in some empty square trying to form words of two or more letters either, vertically or horizontally. When the grid is full, the application will add up the score using a dictionary. The player will gain one point per letter of each correct word. Here is a screenshot of the finished application:

Get Vaadin 7 UI Design By Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.