Design Document board18Main Page

From BOARD18 Project WIKI
Revision as of 17:30, 8 September 2013 by Rich (talk | contribs)
Jump to navigation Jump to search
Design Document edit


Logging in to BOARD18 causes the board18Main.php page to be displayed.
This page can be used to select an existing game to play or to link to the board18New.php page by selecting "Make New Game" in the main menu.
Most of the JavaScript logic for these functions is in the scripts/board18Main.js file.
The board18Main.php page also uses the scripts/board18com.js file and some other open source JavaScript files.
Style is supplied by the style/board18Main.css and the style/board18com.css files.

The Gamelist Table

When entered, board18Main.php uses an AJAX call to php/myGameList.php to get a list of the games that the player is currently playing.
The php/myGameList.php program is documented on the myGameList.php WIKI page.
The returned list is displayed in the gamelist table as shown here:

Gamelist.png

Select a Game to Play

Clicking on an entry in the "Game Name" column will link to the Game Board page for that game.