PHP Classes

File: game/sipstrip/settings.php

Recommend this page to a friend!
  Classes of Dave Smith   The Gameboard   game/sipstrip/settings.php   Download  
File: game/sipstrip/settings.php
Role: Configuration script
Content type: text/plain
Description: Configuration Settings
Class: The Gameboard
Implement a board game using the takeover strategy
Author: By
Last change:
Date: 6 years ago
Size: 2,388 bytes
 

Contents

Class file image Download
<?php
$this
->freeTileName = 'Pass Out';

$this->forceTile1Name = 'Oh No';

$this->forceTile2Name = 'Just 4 Fun';

$this->onStartMsg = 'You have landed on '.$this->startTileName.' and get 2 clothing items back';

$this->passStartMsg = 'You have passed '.$this->startTileName.' and get 1 clothing item back';

$this->onFreeMsg = 'You have passed out, the next player takes over.';

$this->onForce1Msg = 'You have landed on '.$this->forceTile1Name;

$this->onForce2Msg = 'You have landed on '.$this->forceTile2Name;

$this->deck1 = array(
    array(
       
'title' => 'Getting Naked',
       
'action' => '',
       
'value' => '',
       
'text' => 'Remove 1 article of clothing',
    ),
    array(
       
'title' => 'Getting Naked',
       
'action' => '',
       
'value' => '',
       
'text' => 'Remove 2 articles of clothing',
    ),
    array(
       
'title' => 'Getting Drunk',
       
'action' => '',
       
'value' => '',
       
'text' => 'Take 1 Sip',
    ),
    array(
       
'title' => 'Getting Drunk',
       
'action' => '',
       
'value' => '',
       
'text' => 'Take 1 BIG Sip',
    ),
    array(
       
'title' => 'Getting Drunk',
       
'action' => '',
       
'value' => '',
       
'text' => 'Take 2 Sips',
    ),
    array(
       
'title' => 'Transporting',
       
'action' => 'transport',
       
'value' => '',
       
'text' => 'You will being moved to a random tile. If that tile is owned, you must give that player a kiss',
    ),
    array(
       
'title' => 'Transporting',
       
'action' => 'transport',
       
'value' => '0',
       
'text' => 'Move to starting tile',
    ),
);

$this->deck2 = array(
    array(
       
'title' => 'Just 4 Fun',
       
'action' => 'moveback',
       
'value' => '2',
       
'text' => 'Move back 2 tiles',
    ),
    array(
       
'title' => 'Just 4 Fun',
       
'action' => 'moveforward',
       
'value' => '2',
       
'text' => 'Move forward 2 tiles',
    ),
    array(
       
'title' => 'Just 4 Fun',
       
'action' => '',
       
'value' => '',
       
'text' => 'Kiss a player of your choice anywhere they are exposed',
    ),
    array(
       
'title' => 'Just 4 Fun',
       
'action' => '',
       
'value' => '',
       
'text' => 'Wear one piece of clothing taken off by another player',
    ),
);
?>