PHP Classes
elePHPant
Icontem

File: manual.txt

Recommend this page to a friend!
  Classes of Dave Smith  >  The Gameboard  >  manual.txt  >  Download  
File: manual.txt
Role: Documentation
Content type: text/plain
Description: Usage Documentation
Class: The Gameboard
Implement a board game using the takeover strategy
Author: By
Last change:
Date: 3 months ago
Size: 1,243 bytes
 

Contents

Class file image Download
Class: gameboard
Version: 0.1 10/5/2017

Released into the public domain

Description:

This class will present a gameboard with a take over strategy to win.

It comes with a couple sample games to play or you may design your own.

Installation:

Upload files to a web accessible location on your server (eg. public_html)


Configuration:

No configuration needed.

If you receive warnings about including files, change the $this->docRoot variable located in the game/settings.php file.


Usage:

Point your browser to the index.php file and start playing.


Customizing:

The default settings for all games is contained in the game/settings.php file and can be changed however you want.

Each game also contains a settings.php file in its folder that is used to over-ride the defaults and provide data for that specific game.


Creating Games:

Create a new folder off of the game folder for your game.

Add the game to the $this->game array using 'folder' => 'game name' structure.

Copy the files from an existing game folder. The views are the pages displayed depending on what stage the game is currently in, which you can change as your game needs.


Changelog

0.1

Initial beta release