Some checks failed
homelab-k8s-services/tictactoe/pipeline/head There was a failure building this commit
- Express app serving vanilla JS 2-player TicTacToe game - Dockerfile (multi-stage node:18-slim) - Jenkinsfile (K8s pod: test → Harbor push → Helm bump → Gitea push) - Helm chart v1.0.0 with HTTPRoute for tictactoe.fireflylab.local Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
910 B
HTML
29 lines
910 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>TicTacToe</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Tic Tac Toe</h1>
|
|
<div id="status" class="status">Player X's turn</div>
|
|
<div id="board" class="board">
|
|
<div class="cell" data-index="0"></div>
|
|
<div class="cell" data-index="1"></div>
|
|
<div class="cell" data-index="2"></div>
|
|
<div class="cell" data-index="3"></div>
|
|
<div class="cell" data-index="4"></div>
|
|
<div class="cell" data-index="5"></div>
|
|
<div class="cell" data-index="6"></div>
|
|
<div class="cell" data-index="7"></div>
|
|
<div class="cell" data-index="8"></div>
|
|
</div>
|
|
<button id="reset" class="reset-btn">New Game</button>
|
|
</div>
|
|
<script src="game.js"></script>
|
|
</body>
|
|
</html>
|