Skip to content
All projects

Local markets · Game settings

Scaling Game Settings Operations

Fixed currency conversions and predefined profiles were enough until local markets needed different bet settings. I built a tool that prepared those settings inside the existing structure, and checked them before review.

One of the most common requests we received from online casinos was to tailor our game settings to their players. A casino might ask us to use a different rate when converting bets into local currency, or to change the minimum, default or maximum bet.

We assigned each customer to one of our standard settings profiles and used fixed rates to convert bets between currencies. That meant lower bets that players could reasonably afford in one market could still be too expensive in another. For a casino in that position, a different conversion rate would let it offer the same game at a stake that made sense for its players.

Other game studios were competing for the same customers. If we couldn’t offer settings that worked for a casino’s players, we risked losing its business to a supplier who could.

Building a back office that would make it work was off the table, so I first worked out what the existing code could and couldn’t do.

Eventually, I adapted the profiles we already had and set rules for overriding fixed conversion rates for selected currencies.

Nonetheless, I wanted a solution that was safe to run and could scale, without making an already complicated system harder to maintain.

The minimum bet and lower bets had to make sense in the local currency and be affordable for players. It had to work with each game’s maths, because some payout structures can’t support the lowest bet without producing fractional payouts. The betting options had to progress in logical steps from the lowest bet to the highest. And everything had to stay within the maximum financial exposure each profile allowed.

I used Codex to build an internal application in Zite around those rules. It was connected to our existing database, which held each game’s details and payout structure, and it used uploaded payout files to check each game’s maths.

The tool applied new currency settings within the existing profiles. Before it produced anything, it tested the settings against every rule described in the Approach section. Once the checks passed, it generated complete configuration files in the structure our code needed.

It also prepared the customer-to-profile mappings, downloadable validation reports and a draft pull request description that explained what had changed and how it had been checked.

  • Local market requests metCustomers received bet settings that suited their players.

  • Less manual changeSettings were adapted within existing profiles, avoiding additional configuration files.

  • Easier reviewPull requests included a validation report and a detailed draft description.