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 Mon, 11 Mar 2019 15:05:01 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.