This project implements a simplified (and yet quite powerful)
graphical board library for Java. This board is build as a (2+1)D
matrix of cells accepting Gelem (graphical elements)
objects to be drawed (the third dimension, define the drawing
order of the gelems). All drawings are scalable and persistent
within the board, so once a Gelem is drawed the board
will take care of its correct drawing (for example when the
dimensions of the board change). Normally a Gelem uses
only one cell (1x1), but it may occupy a rectangle of cells (NxM),
as long as it fits inside the board.
Latest version: 3.0 (November 2018)
Example: Labyrinth
A labyrinth gboard object can be automatically created from a text file labyrinth representation. The following images result from programLabyrinthSolver.java
(green dots result from a backtracking path find algorithm).
|
![]() |
![]() |
Example: Chess Board
ProgramTestChess.java
.
Example: Cards
ProgramTestCards.java
.