implementing game logic
This commit is contained in:
@ -9,7 +9,10 @@
|
||||
<br>
|
||||
<strong>Player {{player}} view</strong><br>
|
||||
<strong> Table </strong><br>
|
||||
{{played_cards}}
|
||||
{% for key,value in played_cards.items() %}
|
||||
|| {{key.name}}: {{value}}
|
||||
{% endfor %}
|
||||
||
|
||||
<br>
|
||||
<strong> Your cards: </strong>
|
||||
<ul>
|
||||
@ -21,7 +24,9 @@
|
||||
{% 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>
|
||||
{% if playerActive %}
|
||||
<a href="/player/{{player}}/play/{{loop.index0}}">play card {{loop.index}}<{{card}}></a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
<!--
|
||||
|
Reference in New Issue
Block a user