Skip to content

Instantly share code, notes, and snippets.

@gmelodie
Created January 27, 2019 17:08
Show Gist options
  • Save gmelodie/81dc44f7887daa59b1293bcc8e94fc64 to your computer and use it in GitHub Desktop.
Save gmelodie/81dc44f7887daa59b1293bcc8e94fc64 to your computer and use it in GitHub Desktop.
Tic-tac-toe game
<html>
<script type="text/javascript">
function play() {}
</script>
<h1> Tic-tac-toe </h1>
<input type="radio" name="play" value="11">
<input type="radio" name="play" value="12">
<input type="radio" name="play" value="13">
<br>
<input type="radio" name="play" value="21">
<input type="radio" name="play" value="22">
<input type="radio" name="play" value="23">
<br>
<input type="radio" name="play" value="31">
<input type="radio" name="play" value="32">
<input type="radio" name="play" value="33">
<br>
<button onclick="play()"> Play! </button>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment