Download .zip |
Info | Documentation | View files (24) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2017-10-05 (2 years ago) | Not enough user ratings | Total: 281 | All time: 7,438 This week: 299 |
Version | License | PHP version | Categories | |||
gameboard 1.0.0 | Public Domain | 5 | PHP 5, Games |
Description | Author | |
This class can implement a board game using the takeover strategy. Innovation Award
|
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 |
Files |
File | Role | Description | ||
---|---|---|---|---|
game (2 files, 2 directories) | ||||
board.css | Aux. | Styles | ||
gameboard.class.php | Class | Main Class | ||
index.php | Appl. | Game Board Design | ||
manual.txt | Doc. | Usage Documentation |
Files | / | game |
File | Role | Description | ||
---|---|---|---|---|
sipstrip (1 file, 1 directory) | ||||
truthdare (1 file, 1 directory) | ||||
select.php | Appl. | Game Select View | ||
settings.php | Conf. | Configuration Settings |
Files | / | game | / | sipstrip |
File | Role | Description | ||
---|---|---|---|---|
views (8 files) | ||||
settings.php | Conf. | Configuration Settings |
Files | / | game | / | sipstrip | / | views |
File | Role | Description |
---|---|---|
action.php | Appl. | Game View |
intro.php | Appl. | Game View |
noaction.php | Appl. | Game View |
onforce1.php | Appl. | Game View |
onforce2.php | Appl. | Game View |
roll.php | Appl. | Game View |
selplayer.php | Appl. | Game View |
winner.php | Appl. | Game View |
Files | / | game | / | truthdare |
File | Role | Description | ||
---|---|---|---|---|
views (8 files) | ||||
settings.php | Conf. | Configuration Settings |
Files | / | game | / | truthdare | / | views |
File | Role | Description |
---|---|---|
action.php | Appl. | Game View |
intro.php | Appl. | Game View |
noaction.php | Appl. | Game View |
onforce1.php | Appl. | Game View |
onforce2.php | Appl. | Game View |
roll.php | Appl. | Game View |
selplayer.php | Appl. | Game View |
winner.php | Appl. | Game View |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.