For educational purposes, you may read the source code of this program. If you want to do anything other than read it, and execute it on this web site, ask me for permission.
The heart of the program consists of web pages generated by a client-side PHP script, minesweeper.php. The generated pages include the Javascript, customized slightly to the specific board size, and a <TABLE> containing the counters and squares.
The various top-level pages, index.php, intermediate.php, and expert.php, invoke minesweeper.php after setting a few constants. They append their own text content and the usual trailers.
The graphics are achieved by the table layout and some unusual Unicode characters. The only actual images are the smileys:
There's also the source-listing page lister.php, and this page source.php.
| Home | Knotwork | Minesweeper | Ishido | Alice | USA Maps | ✓ | ||
| Images | Decorations | Patterns | Photos | Family Tree | Me |