Tic-Tac-Toe.php


Quell Code


<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<div id="myModal" class="modals">

  <!-- Modal content -->
  <div class="modals-content">
   
    <div id="userpick">
      <h2>Pick up X or O</h2>
    <button class="btns">X</button>
    <button class="btns">O</button>
     </div>
  </div>

</div>
<table border="1" id="tttboard">
<tr>
  <td id="b1"></td>
  <td id="b2"></td>
  <td id="b3"></td>
  </tr>
  <tr>
  <td id="b4"></td>
    <td id="b5"></td>
    <td id="b6"></td>
  </tr>
  <tr>
  <td id="b7"></td>
    <td id="b8"></td>
    <td id="b9"></td>
  </tr>
</table>