Games_Chess
[ class tree: Games_Chess ] [ index: Games_Chess ] [ all elements ]

File: HTMLChess.php

Source Location: /Games_Chess-1.0.1/examples/HTMLChess.php

Classes:

visualboard
The primary class - declare one of these at the top of the file

Page Details:

Includes:

require_once('Games/Chess/Standard.php') [line 2]
require_once('Games/Chess/Losers.php') [line 3]
require_once('Games/Chess/Crazyhouse.php') [line 4]

setup_game [line 38]

void setup_game( string $session_id, string $gamename)

Creates the game and maintains persistence through sessions

Call this at the top of the webpage



Parameters

string   $session_id   name of the session containing the current game
string   $gamename   name of the game variable (a visualboard class)
[ Top ]



Documentation generated on Sun, 17 Jun 2007 02:00:50 -0400 by phpDocumentor 1.3.2. PEAR Logo Copyright © PHP Group 2004.