mirror of
https://github.com/sigmasternchen/html-tictactoe
synced 2025-03-15 03:28:55 +00:00
add link to github and change prefix to index
This commit is contained in:
parent
6ee63102ec
commit
2987646ff6
2 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue