1. Go to this page and download the library: Download puritandesigns/expotition library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
puritandesigns / expotition example snippets
$town = new Setting(
$adventure,
'Town',
'You find yourself in a small town bustling with activity.',
);
$tavern = new Setting(
$adventure,
'Tavern',
'You are in a single-room tavern.',
new Actions(
new SimpleResponseAction(
'Talk to Bartender',
$adventure,
'The Bartender grunts, "Welcome to my pub."'
),
new LeaveAction(
'Head outside',
$adventure,
$town
)
)
);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.