(tic-tac-toe): Added button to restart game.

This commit is contained in:
Alessandro Petitcollin 2025-12-07 01:31:29 +01:00
parent 9653b0cbe6
commit fb1b69a0ae
2 changed files with 35 additions and 7 deletions

View file

@ -10,4 +10,7 @@
<div class="bg-blue-500 h-32 flex items-center justify-center text-white text-xl font-bold hover:bg-red-700 ttt-grid-cell"> </div>
<div class="bg-blue-500 h-32 flex items-center justify-center text-white text-xl font-bold hover:bg-red-700 ttt-grid-cell"> </div>
</div>
</div>
<button id="ttt-restart-btn" class="mt-8 bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Restart Game
</button>
</div>