Archived
1
0
Fork 0
This repository has been archived on 2020-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
news-script/english.php

34 lines
916 B
PHP

<?php
/**
* DashingDon: https://dashingdon.com/
* TextAdventures: http://textadventures.co.uk/games/latest
* Itch.io: https://itch.io/games/newest/tag-text-based.xml
* Philome.la: https://twitter.com/philomela_twine
* Ifiction [Hyperbook EN]: http://ifiction.net/lib.php
* Choice of Games: https://www.choiceofgames.com/category/blog/game-announcements/
* IFDB
**/
require "vendor/autoload.php";
require "Game.php";
$loader = new \Aura\Autoload\Loader;
$loader->register();
$loader->addPrefix('Source', 'Source_en');
if (PHP_SAPI !== 'cli') {
ob_start();
echo '<!DOCTYPE html><html><body><code><pre>';
}
try {
(new Source\Textadventures())->print();
(new Source\IFDB())->print();
(new Source\Dashingdon())->print();
(new Source\Itch())->print();
(new Source\Hyperbook())->print();
} catch (Exception $e) {}
if (PHP_SAPI !== 'cli') {
echo '</pre></code></body></html>';
ob_end_flush();
}