implemented 'table'
This commit is contained in:
@ -26,6 +26,7 @@
|
||||
<a href="/control/deal/5">deal 5</a>
|
||||
<a href="/control/deal/10">deal 10</a>
|
||||
<a href="/control/deal/12">deal 12</a>
|
||||
<a href="/control/deal/14">deal 14</a>
|
||||
<a href="/control/deal/20">deal 20</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -7,19 +7,24 @@
|
||||
<p class="lead">
|
||||
Play a nice game of cards?<br>
|
||||
<br>
|
||||
<strong>Player {{player}} view</strong>
|
||||
<strong>Player {{player}} view</strong><br>
|
||||
<strong> Table </strong><br>
|
||||
{{played_cards}}
|
||||
<br>
|
||||
<strong> Your cards: </strong>
|
||||
<ul>
|
||||
{% for card in cards %}
|
||||
<li>
|
||||
<strong>>card {{loop.index}} is: {{card}} </strong><br>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
<li>
|
||||
<strong>Trump Card: {{trump_card}}</strong><br>
|
||||
<strong>Trump Color: {{trump_color}}</strong><br>
|
||||
</li>
|
||||
<!--
|
||||
|
||||
{% for card in cards %}
|
||||
<li>
|
||||
<strong>>card {{loop.index}} is: {{card}} </strong><br>
|
||||
<a href="/player/{{player}}/play/{{loop.index0}}">play card {{loop.index}}<{{card}}></a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
<!--
|
||||
<li>
|
||||
<strong>Movie by IMDB code</strong><br>
|
||||
<a href="/api/movie/tt0096754">GET /api/movie/{imdb_number}</a>
|
||||
|
Reference in New Issue
Block a user