# Prizes

### Points calculation

During the [Awaiting reveals Phase](/dequiz/how-it-works.md) players answers will be checked. For every correct answer **1 point** is assigned to the player.

### Prize calculation

When quiz reaches [Closed Phase](/dequiz/how-it-works.md) the quiz smart contract knows how many points every players scored, and can calculate the prize pool share as following:

`player prize = floor((prize pool / total points) * player points)`

### Leftovers

In case there is any leftover due to rounding, the remaining prize will be forever lost inside the smart contract. Maybe this behaviour will be changed in future iterations.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dequiz.zone/dequiz/prizes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
