Difference between revisions of "Design Document board18New Page"
(Initial version of this page) |
(→The Available Game Box Table: add WIKI Links for BOARD18 WEB Pages) |
||
Line 7: | Line 7: | ||
Style is supplied by the style/board18New.css and the style/board18com.css files. | Style is supplied by the style/board18New.css and the style/board18com.css files. | ||
== The Available Game Box Table == | {{WIKI Links for BOARD18 WEB Pages}}== The Available Game Box Table == | ||
When entered board18New.php uses the php showBoxes function to get and display a list of the game boxes that are available for play. <br> | When entered board18New.php uses the php showBoxes function to get and display a list of the game boxes that are available for play. <br> | ||
This list is displayed at the bottom of the "RightOfPage" division. | This list is displayed at the bottom of the "RightOfPage" division. |
Revision as of 12:08, 12 September 2014
Design Document edit | |
Selecting "Make New Game" from the main menu in the board18Main.php page
causes the board18New.php page to be displayed.
This page can be used to create a new BOARD18 game.
Most of the JavaScript logic for these functions is in the scripts/board18New.js file.
The board18New.php page also uses the scripts/board18com.js file and some other open source JavaScript files.
Style is supplied by the style/board18New.css and the style/board18com.css files.
The Available Game Box Table
When entered board18New.php uses the php showBoxes function to get and display a list of the game boxes that are available for play.
This list is displayed at the bottom of the "RightOfPage" division.
The Players Table
When entered board18New.php uses the php showPlayers function to get and display a list of the players that have userID's on this BOARD18 server.
This list is displayed in the "LeftOfPage" division.
Start a New Game Session
To start a new game session, one must fill in the fields in the new game form that is displayed at the top of the "RightOfPage" division.
There are currently no shortcuts to automate this chore.
When the form is submitted, the fields are verified and then
an AJAX call is made to the php/createGame.php program.
The php/createGame.php program is documented on the createGame.php WIKI page.