add link to github and change prefix to index

This commit is contained in:
sigmasternchen 2024-10-24 18:02:25 +02:00
parent 6ee63102ec
commit 2987646ff6
2 changed files with 5 additions and 1 deletions

View file

@ -36,4 +36,4 @@ def generate_options(initial_prefix, prefix, board):
if __name__ == "__main__":
board = Board()
generate_options("g", "g", board)
generate_options("index", "index", board)

View file

@ -11,6 +11,7 @@
{%- set winner = board.winner() -%}
<a href={{ reset }}>Start over</a>{{- "" -}}
<br /><br />{{- "" -}}
<table border=1 cellpadding=10>
{%- for y in range(3) -%}
<tr>
@ -43,5 +44,8 @@
{%- endif -%}
<a href={{ reset }}>Try again!</a>
{%- endif -%}
<hr />{{- "" -}}
<a href="https://github.com/sigmasternchen/html-tictactoe">Source Code</a>{{- "" -}}
</body>{{- "" -}}
</html>