changed up a few things regarding scoring, added some usability features

This commit is contained in:
root
2020-06-16 13:31:05 +02:00
parent 00d0df4af7
commit 953f2eeb46
9 changed files with 64 additions and 30 deletions

View File

@@ -15,12 +15,16 @@
<tr>
<th>Name</th>
<th>Average</th>
<th>Rounds</th>
<th>Plays</th>
<th></th>
</tr>
{% for challenge in challenges %}
<tr>
<td>{{challenge.name}}</td>
<td>{{challenge.average|intcomma}}</td>
<td>{{challenge.average}}</td>
<td>{{challenge.num_rounds}}</td>
<td>{{challenge.num_plays}}</td>
<td><a class="btn btn-success btn-block" href="{% url 'game:new-game' %}?challenge={{challenge.id}}" role="button">Play</a></td>
</tr>
{% endfor %}