The bluegammon.gui
package contains classes related to presentation and
user interaction of the Bluegammon game.
The gui of the Bluegammon midlet has two states:
The two main classes in this package are MenuCanvas
and BoardCanvas
.
MenuCanvas
is the user interaction entry point for the midlet.
This class is active before an actual backgammon game is started
and handles the setup state.BoardCanvas
is active when a game is ongoing and handles the game-play state.