{% extends "layouts/base.html" %} {% load static i18n %} {% block title %}{% trans "Dice Game Manager" %}{% endblock %} {% block extrastyle %} {% endblock %} {% block content %}
{% trans "Você precisa criar uma configuração para o Dice Game." %}
{% trans "Nenhuma configuração ativa. Crie uma abaixo." %}
{% endif %}| {% trans "Prêmio" %} | {% trans "Chance" %} | {% trans "Recompensas" %} | {% trans "Status" %} | {% trans "Ações" %} |
|---|---|---|---|---|
|
{{ prize.name }}
{% if prize.description %}
{{ prize.description|truncatewords:10 }} {% endif %} |
{{ prize.drop_chance }}% |
{% if prize.fichas_bonus > 0 %}
💰 {{ prize.fichas_bonus }} fichas
{% endif %}
{% if prize.item %}
🎁 {{ prize.item.name }} {% if prize.item.enchant %} +{{ prize.item.enchant }}{% endif %} {% endif %} |
{% if prize.is_active %} ✅ Ativo {% else %} ❌ Inativo {% endif %} | |
| {% trans "Nenhum prêmio configurado. Adicione prêmios para os jogadores terem chance de ganhar itens bonus!" %} | ||||
| {% trans "Tipo" %} | {% trans "Jogos" %} | {% trans "Vitórias" %} | {% trans "Win Rate" %} | {% trans "Apostado" %} | {% trans "Pago" %} | {% trans "Lucro Casa" %} |
|---|---|---|---|---|---|---|
| {{ stat.bet_type|upper }} | {{ stat.total_games }} | {{ stat.wins }} | {{ stat.win_rate }}% | {{ stat.total_bet }} | {{ stat.total_prize }} | {{ stat.house_profit }} |
| {% trans "Número" %} | {% trans "Vezes" %} | {% trans "%" %} |
|---|---|---|
| ⚅{{ dist.number }} | {{ dist.count }} | {{ dist.percentage }}% |
| # | {% trans "Jogador" %} | {% trans "Lucro" %} | {% trans "Win Rate" %} |
|---|---|---|---|
| {{ forloop.counter }} | {{ winner.user__username }} | {% if winner.profit >= 0 %}+{% endif %}{{ winner.profit }} | {{ winner.win_rate }}% |
| {% trans "Data" %} | {% trans "Jogador" %} | {% trans "Aposta" %} | {% trans "Dado" %} | {% trans "Resultado" %} |
|---|---|---|---|---|
| {{ play.created_at|date:"d/m/Y H:i" }} | {{ play.user.username }} | {{ play.get_bet_type_display }} {% if play.bet_value %}({{ play.bet_value }}){% endif %} - {{ play.bet_amount }} fichas | ⚅{{ play.dice_result }} | {% if play.won %} +{{ play.prize_amount }} {% else %} -{{ play.bet_amount }} {% endif %} |
💡 {% trans "Ajuste os multiplicadores para equilibrar a economia do jogo!" %}