2020-04-05 23:27:33 +02:00
|
|
|
{% extends "/shared/_layout.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<div class="content">
|
|
|
|
<h1><span class="font-semi-bold">Gambling Foo</span> <span class="smaller">A RESTful gaming service</span></h1>
|
|
|
|
<p class="lead">
|
|
|
|
Play a nice game of cards?<br>
|
|
|
|
<br>
|
|
|
|
<strong>Control view</strong>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
{% for card in deck %}
|
|
|
|
<strong>>{{loop.index}}: {{card}} </strong> |
|
|
|
|
{% endfor %}
|
|
|
|
|
2020-04-13 16:14:36 +02:00
|
|
|
<br>
|
2020-04-05 23:27:33 +02:00
|
|
|
<strong>Trump Card: {{trump_card}}</strong><br>
|
|
|
|
<strong>Trump Color: {{trump_color}}</strong><br>
|
2020-04-13 16:14:36 +02:00
|
|
|
<br>
|
|
|
|
{% if trick_finished %}
|
|
|
|
Winner: {{trick_winner}} with Card {{highest_card}}
|
|
|
|
<a href="/control/next_trick/">start next trick</a>
|
|
|
|
{% endif %}
|
|
|
|
{% if hand_finished %}
|
|
|
|
Winner: {{trick_winner}} with Card {{highest_card}}
|
|
|
|
<a href="/control/next_hand/">start next hand</a>
|
|
|
|
{% endif %}
|
2020-05-21 18:49:52 +02:00
|
|
|
<br>
|
|
|
|
<a href="/control/undo_last/">undo last card</a>
|
2020-04-13 16:14:36 +02:00
|
|
|
<!--
|
2020-04-05 23:27:33 +02:00
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<strong>Deal cards</strong><br>
|
|
|
|
<a href="/control/deal/1">deal 1</a>
|
|
|
|
<a href="/control/deal/2">deal 2</a>
|
|
|
|
<a href="/control/deal/5">deal 5</a>
|
|
|
|
<a href="/control/deal/10">deal 10</a>
|
|
|
|
<a href="/control/deal/12">deal 12</a>
|
2020-04-06 22:42:31 +02:00
|
|
|
<a href="/control/deal/14">deal 14</a>
|
2020-04-05 23:27:33 +02:00
|
|
|
<a href="/control/deal/20">deal 20</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2020-04-13 16:14:36 +02:00
|
|
|
-->
|
2020-04-05 23:27:33 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p class="disclaimer">
|
|
|
|
Spam Bacon Sausage + Spam
|
|
|
|
Spam Spam Spam Spam Spam
|
|
|
|
Spam Baked Beans Spam
|
|
|
|
Spam Spam + Spam
|
|
|
|
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|