Games: Game Lines Class
msdn11 (contact me)
This class implements a Web based minesweeper online game.
It initializes a bi-dimensional array that represents the game board. This array can be stored in a session variable so it is available in all pages for each game move.
It generates an image to present mine field board in a Web page.
It can process all game moves and evaluate whether the player moved to an empty field or lost when he steps into a mined field.
Click here for detailed information about this class on phpclasses.org