{% extends "global/Page.html" %}
{% load otree static %}
{% block title %}
Lottery Results
{% endblock %}
{% block content %}
TICKET SPLIT:
Out of 100 total lottery tickets, you recieved {{player.keep}} tickets, and player 2 recieved {{player.give}} tickets. As such, you had a {{player.keep}}% chance of winning your lottery for a payoff of {{player.lottery_value}}.
{% if player.payoff == 0%}Unfortunately, you lost the lottery, and will recieve a payoff of 0.{% else %}I like those odds! You won your lottery and will recieve a payoff of {{player.lottery_value}}{% endif %}
{% next_button %}
{% endblock %}