> For the complete documentation index, see [llms.txt](https://docs.hashfair.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hashfair.io/why-hashfair/formulas.md).

# Formulas

<figure><img src="/files/saCriSzT8nB6fAFv3OTI" alt=""><figcaption></figcaption></figure>

Hashfair's proposed method aims to enhance the fairness and randomness of online games, specifically roulette, by using Polygon Chain hashes. Here is a brief explanation of the approach:

Welcome to HashFair, the cutting-edge frontier of decentralized gaming. We're proud to offer a brand-new level of transparency and fairness with our groundbreaking algorithm. Drawing from the unchangeable block hashes of the Polygon Chain, we've created a unique formula that guarantees complete randomness in our range of online games, including roulette. This novel approach maps hash data directly onto roulette wheel numbers, ensuring a perfectly unbiased and decentralized gaming experience like never before. With HashFair, it's not just about playing; it's about embracing a trustless, secure, and thrilling future in gaming.

<figure><img src="/files/hU88kCHfaC20R01cUvCS" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.hashfair.io/why-hashfair/formulas.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
