Files
jamie prince 9473d853ce Add Mastermind and Hangman single-player games
- Mastermind: 4-color sequence, 10 tries, black/white peg feedback
- Hangman: 6 lives, progressive letter reveal, 10-word vocabulary
- Both available in BBS (telnet) and web (WML/XHTML) sides
- Shared sp_games persistence, scores table integration
- Updated games index and menu navigation
2026-09-10 02:09:09 +01:00

26 lines
716 B
PHP

<?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'],
['/games/mastermind.php', 'Mastermind'],
['/games/hangman.php', 'Hangman'],
]);
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();