84 lines
3.7 KiB
PHP
84 lines
3.7 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Cute-Cat-Toe</title>
|
|
<meta name="description" content="A cute and playful Tic Tac Toe game with a cat motif.">
|
|
<meta name="keywords" content="tic tac toe, cat game, browser game, online game, cute game, flatlogic">
|
|
|
|
<!-- Open Graph / Facebook -->
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:title" content="Cute-Cat-Toe">
|
|
<meta property="og:description" content="A cute and playful Tic Tac Toe game with a cat motif.">
|
|
<meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? '', ENT_QUOTES, 'UTF-8'); ?>">
|
|
|
|
<!-- Twitter -->
|
|
<meta property="twitter:card" content="summary_large_image">
|
|
<meta property="twitter:title" content="Cute-Cat-Toe">
|
|
<meta property="twitter:description" content="A cute and playful Tic Tac Toe game with a cat motif.">
|
|
<meta property="twitter:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? '', ENT_QUOTES, 'UTF-8'); ?>">
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
</head>
|
|
<body>
|
|
|
|
<header class="navbar navbar-expand-lg navbar-light">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="#">🐾 Cute-Cat-Toe</a>
|
|
</div>
|
|
</header>
|
|
|
|
<main>
|
|
<section class="hero">
|
|
<div class="container">
|
|
<h1 class="display-3">Welcome to Cute-Cat-Toe!</h1>
|
|
<p class="lead">The cutest Tic Tac Toe game on the web. Play with paws and yarn!</p>
|
|
<a href="#game-section" class="btn btn-primary btn-lg mt-3">Play a Game</a>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="game-section" class="container text-center">
|
|
<h2 class="mb-4">Let's Play!</h2>
|
|
<div class="mb-3">
|
|
<label for="board-size-select">Board Size:</label>
|
|
<select id="board-size-select" class="form-select-sm">
|
|
<option value="5">5x5</option>
|
|
<option value="18">18x18</option>
|
|
<option value="36">36x36</option>
|
|
</select>
|
|
<label for="ai-difficulty-select" class="ms-3">AI Difficulty:</label>
|
|
<select id="ai-difficulty-select" class="form-select-sm">
|
|
<option value="easy">Easy</option>
|
|
<option value="medium" selected>Medium</option>
|
|
<option value="hard">Hard</option>
|
|
</select>
|
|
</div>
|
|
<div id="game-status" class="mb-3"></div>
|
|
<div class="game-board" id="game-board">
|
|
|
|
</div>
|
|
<button id="reset-button" class="btn btn-secondary mt-4">Reset Game</button>
|
|
</section>
|
|
|
|
<section id="gallery-section" class="py-5">
|
|
<div class="container">
|
|
<h2 class="text-center mb-4">Cute Cat Gallery</h2>
|
|
<div class="cat-gallery" id="cat-gallery">
|
|
<!-- Cat images will be loaded here by JavaScript -->
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<footer class="text-center">
|
|
<div class="container">
|
|
<p>© <?php echo date("Y"); ?> Cute-Cat-Toe. All rights reserved.</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
</body>
|
|
</html>
|