Board Game Utilities

**BOX_GAMES**
is a MATLAB library which
contains utilities for creating and displaying simple board games,
such as for checkers, or life, or a cellular automaton.

The computer code and data files made available on this web page are distributed under the GNU LGPL license.

**BOX_GAMES** is available in
a MATLAB version.

BOX_DISPLAY, a MATLAB program which displays a box plot, over integer pairs of data, of a function defined by two formulas.

BOX_PLOT, a MATLAB program which displays a box plot of data that consists of pairs of integers;

CIRCLE_GRID_DISPLAY, a MATLAB program which reads a matrix of integers, and draws a corresponding grid of circles filled with color.

CUBE_DISPLAY, a MATLAB program which displays a cube plot, over integer triples of data, of a function defined by two formulas.

GL_DISPLAY, a MATLAB program which displays the abscissas used in various kinds of Gauss Legendre quadrature rules.

GRIDLINES, a MATLAB library which gives the user more control over drawing gridlines on a graph than the builtin "grid on" command.

LIGHTS_OUT, a MATLAB program which sets up the "Lights Out" game and allows a user to try to solve it.

PLOT_POINTS, a FORTRAN90 program which reads a set of points from a file and plots them into an Encapsulated PostScript file.

PRIME_PLOT a MATLAB program which displays a box plot of the prime and composite numbers.

XY_DISPLAY, a MATLAB program which reads a set of 2D points from a file and plots them in a the MATLAB graphics window.

XYF_DISPLAY, a MATLAB program which reads XYF information defining points and faces in 2D, and displays an image in a MATLAB graphics window.

XYL_DISPLAY, a MATLAB program which reads XYL information defining points and lines in 2D, and displays an image in a MATLAB graphics window.

XYZ_DISPLAY, a MATLAB program which reads a set of 3D points from a file and plots them in a the MATLAB graphics window.

- board_xy_init.m initializes a game board.
- board_xy_init_test.m
- board_xy_init_test.png
- box_games_test.m runs all the tests.
- cell_ij_fill.m draws a filled unit cell in matrix coordinates.
- cell_ij_fill_test.m
- cell_ij_fill_test.png
- circle_ij_fill.m draws a filled circle in matrix coordinates.
- circle_ij_fill_test.m
- circle_ij_fill_test.png
- circle_xy_fill.m draws a filled circle in XY coordinates.
- circle_xy_fill_test.m
- circle_xy_fill_test.png
- square_xy_fill.m draws a filled square in XY coordinates.
- square_xy_fill_test.m
- square_xy_fill_test.png

You can go up one level to the MATLAB source codes.