| 1 |
<?php |
| 2 |
/** |
| 3 |
* Desktop Mode — Games bootstrap. |
| 4 |
* |
| 5 |
* Loads the game system: schema (scores + challenges tables), the |
| 6 |
* framework config (shared dictionary URL), the server-side |
| 7 |
* game registry, the score/challenge store, the play-time store, |
| 8 |
* REST routes, the Heartbeat challenge channel, the Games window + |
| 9 |
* desktop icon, and the built-in game registrations (Inkfall, |
| 10 |
* Alphabet Soup). |
| 11 |
* |
| 12 |
* New `require_once` lines belong here so the rest of the codebase |
| 13 |
* keeps loading the feature through one entry point. |
| 14 |
* |
| 15 |
* @package WPDesktopMode |
| 16 |
* @since 0.9.6 |
| 17 |
*/ |
| 18 |
|
| 19 |
defined( 'ABSPATH' ) || exit; |
| 20 |
|
| 21 |
require_once DESKTOP_MODE_DIR . 'includes/games/schema.php'; |
| 22 |
require_once DESKTOP_MODE_DIR . 'includes/games/config.php'; |
| 23 |
require_once DESKTOP_MODE_DIR . 'includes/games/registry.php'; |
| 24 |
require_once DESKTOP_MODE_DIR . 'includes/games/store.php'; |
| 25 |
require_once DESKTOP_MODE_DIR . 'includes/games/playtime.php'; |
| 26 |
require_once DESKTOP_MODE_DIR . 'includes/games/rest.php'; |
| 27 |
require_once DESKTOP_MODE_DIR . 'includes/games/heartbeat.php'; |
| 28 |
require_once DESKTOP_MODE_DIR . 'includes/games/window.php'; |
| 29 |
require_once DESKTOP_MODE_DIR . 'includes/games/inkfall.php'; |
| 30 |
require_once DESKTOP_MODE_DIR . 'includes/games/alphabet-soup.php'; |
| 31 |
|