restored mapCrypt looping

This commit is contained in:
2024-03-20 15:29:00 -05:00
parent ba73d8f3b6
commit eb8db81789
3 changed files with 26 additions and 15 deletions

View File

@ -1,5 +1,10 @@
<!DOCTYPE HTML>
<script src="/static/htmx.min.js"></script>
<% if not isPopulated then %>
<div id="clickable">
<button hx-post="/clickme" hx-target="#clickable">Start</button>
</div>
<% end %>
<article>
<p style="text-align: center;">Game</p>
<main style="width: 50%;" class="container" id="map" hx-get="/map/render" hx-trigger="every 1s,load">

View File

@ -6,10 +6,7 @@
</div>
<% end %>
<article>
<p style="text-align: center;">Game</p>
<main style="width: 50%;" class="container" id="map" hx-get="/map/render" hx-trigger="every 1s,load">
</article>
<a href="/game">Play Now</a>
</main>