First git commit

This commit is contained in:
root
2026-09-08 18:21:10 +01:00
commit 66911dc450
65 changed files with 7012 additions and 0 deletions

23
public_html/games.php Normal file
View File

@ -0,0 +1,23 @@
<?php
require_once __DIR__ . '/lib/bootstrap.php';
$me = current_user();
page_start('Games', ['back' => '/index.php']);
p_para('Single player:');
p_links([
['/games/guess.php', 'Guess the Number'],
['/games/quiz.php', 'Quick Quiz'],
]);
p_para('Multiplayer (play a friend):');
p_links([
['/games/ttt.php', 'Noughts & Crosses'],
['/games/nim.php', 'Nim (21 sticks)'],
]);
p_para('The MUD - a shared world:');
p_links([
['/mud.php', 'Enter the realm'],
]);
p_rule();
p_links([['/games/scores.php', 'High scores'], ['/index.php', 'Home']]);
if (!$me) p_para('Log in to save scores and play others.');
page_end();