One of the things I've found most interesting about developing Hoosier Five Fingers is how quickly a seemingly simple game can become complicated.
At its heart, the game is still straightforward. Five digits, five positions, and one goal: build the largest number possible.
But when we decided to turn it into a virtual casino game, we introduced a new challenge.
We needed opponents.
Not just computer-controlled players that randomly fill in numbers, but opponents that can make intelligent decisions, evaluate risk, and decide when to bet, raise, call, or fold.
And preferably, opponents that don't all play exactly the same way.
That's been the focus of much of our recent development work.
As it turns out, teaching a computer how to play a game is one thing.
Teaching it how to take a calculated risk is something else entirely.
Imagine you're sitting at a Hoosier Five Fingers table.
The first digit appears: 8.
Where should you place it?
A human player might immediately put it in the first position, hoping the remaining digits are smaller.
Another might save that position for a possible 9.
Someone else might take a more conservative approach, trying to maximize their chances of finishing with a reasonably strong number.
There isn't necessarily one perfect answer, because nobody knows which digits are coming next.
Our computer opponents face the same challenge.
Early in development, we created an AI system capable of evaluating possible placements and estimating which decisions were most likely to produce a strong final number.
But there's an interesting side effect when you give several computer opponents the same strategy.
They start making the same decisions.
And because every player receives the same sequence of digits, identical placement decisions can produce identical final numbers.
That means ties.
Lots of ties.
Our recent testing revealed that different computer opponents were frequently arriving at the exact same five-digit number.
In some situations, they weren't just playing similarly. They were effectively playing identically.
That's not necessarily a programming error. If two computer opponents use the same logic and receive the same information, it makes sense that they might reach the same conclusion.
But it doesn't necessarily make for an entertaining casino game.
After all, who wants to sit at a table where everyone keeps getting the same result?
One of our development goals has been to make the computer opponents more aware of the competition.
Instead of evaluating every possible placement in isolation, the AI needs to consider what other players might do.
That doesn't mean it gets to see the future.
Our opponents aren't allowed to peek at upcoming digits or secretly inspect information that wouldn't be available to a human player.
Instead, they estimate possible outcomes using information already revealed during the game.
This involves simulating different ways the remaining digits might appear and considering how competing strategies might respond.
It's a probability problem.
But it also creates a modeling problem.
If the AI assumes everyone else will behave exactly like itself, its predictions can become distorted.
That's one of the issues we discovered during our recent development audit.
The computer was sometimes evaluating its chances against opponents that behaved like copies of itself, rather than considering a reasonable variety of competing strategies.
We began correcting that by introducing more varied opponent models.
The goal is to create AI that understands uncertainty rather than acting as if every player at the table thinks the same way.
Then we encountered another problem.
Our computer opponents were being remarkably cautious.
During one early test involving twelve complete hands, the AI made 35 checks, 23 calls, and one fold.
How many bets?
Zero.
How many raises?
Also zero.
We had successfully created computer opponents that could evaluate their chances of winning.
Unfortunately, they were perfectly content to sit around the casino table checking and calling.
That wasn't exactly the exciting casino experience we were trying to build.
The underlying issue involved how the AI estimated its chances of winning and how those estimates influenced its betting decisions.
The computer was setting the bar for aggressive actions so high that it almost never considered betting worthwhile.
We needed to rethink the decision-making process.
Instead of asking only whether the AI was sufficiently confident that it would win, we began evaluating whether a particular bet made mathematical sense given the size of the pot, the cost of the wager, and the possible responses from other players.
That led us to improve the betting engine.
And the results were encouraging.
After implementing the changes, we began seeing much more varied behavior.
Our computer-controlled opponents were placing bets, making raises, and responding differently depending on their playing styles.
In subsequent full-hand testing, opponents initiated bets in approximately 40–45% of available opening opportunities across the casino tables.
Raises also began appearing regularly.
That's a substantial improvement over the earlier behavior, when the computer players seemed reluctant to do anything other than check or call.
We've established three broad opponent personalities.
Conservative opponents tend to exercise more caution. They're less inclined to initiate bets without favorable conditions.
Aggressive opponents are more willing to put virtual chips into the pot and pressure their competition.
Analytical opponents take a more measured approach, balancing risk against their estimated chances of success.
The personalities don't completely determine every decision. All three still consider the game situation.
An aggressive opponent shouldn't automatically raise every hand, and a conservative opponent shouldn't refuse to bet even when holding a strong position.
The challenge is finding the right balance between recognizable behavior and intelligent decision-making.
And while we've made significant progress, we're not finished.
Here's where our latest testing uncovered something particularly interesting.
Even after improving the betting behavior, we continued seeing a surprisingly large number of tied hands.
In one series of tests, the human-style reference player was involved in ties approximately 61% of the time at Emerald, 68% at Ruby, and 78% at Onyx.
That's a lot of ties.
And the reason has less to do with betting than with how the numbers are placed.
Remember, every player receives the same revealed digits.
If two players make the same placement decisions, they finish with the same number.
As our AI systems become more sophisticated, they often converge on similar decisions because they're attempting to solve the same mathematical problem.
In other words, the better they become at maximizing their numbers, the more likely they may be to arrive at the same answer.
It's a fascinating problem.
We want our opponents to play intelligently, but we don't want every opponent to feel like the same mathematical formula wearing a different name.
That's something we'll be addressing in the next stage of AI development.
We need to create more meaningful differences in how opponents approach number placement, not just how aggressively they wager.
And we need to measure whether those differences genuinely improve the gameplay.
While artificial intelligence has been our primary focus, we've also revisited part of the game's virtual chip economy.
Originally, our design provided players with a larger starting bankroll and a daily chip reward.
We've since simplified that approach.
New player profiles now begin with 250 virtual chips, and we've replaced the daily reward with a system that awards 10 chips for completing a Practice hand.
The idea is to give players a straightforward way to earn additional chips through gameplay without requiring purchases or real-money transactions.
We've also continued improving the systems that preserve player progress when switching between casino tables or resuming an interrupted hand.
These changes may not be as visually exciting as a new casino table, but they're part of making the game more approachable and dependable.
One thing I've learned throughout this process is that automated testing is essential, but it doesn't answer every question.
Our latest implemented AI changes passed a regression suite of 1,669 tests with no failures.
That's excellent from a technical standpoint.
But those tests can't tell us whether an opponent feels interesting to play against.
They can't determine whether a conservative character seems convincingly cautious, or whether an aggressive character is actually putting meaningful pressure on the player.
And they can't necessarily tell us whether the overall experience is fun.
Those questions require looking beyond whether the software works.
They require evaluating the behavior the software produces.
We've been doing exactly that through simulated games, detailed comparisons, and additional analysis of how different opponents behave.
Some findings have been encouraging. Others have revealed areas where the game needs more work.
That's part of development.
A successful test doesn't always mean we're finished.
Sometimes it simply means we're ready to ask a better question.
Our next challenge is making sure the opponents don't simply become different versions of the same calculator.
We want players to recognize that some opponents are cautious, some are aggressive, and others approach decisions differently.
We also want difficulty to mean something.
Moving from Emerald to Ruby or Onyx should involve more than simply increasing the betting stakes.
The higher tables should eventually offer a genuinely different level of competition.
But getting there requires careful balancing.
Make the opponents too predictable, and players will quickly learn how to exploit them.
Make them too difficult, and the game becomes frustrating.
Make them all equally intelligent in exactly the same way, and everyone ends up tying.
There's a balance to find, and we're still working toward it.
When my daughter first taught us the original classroom game, none of us needed an artificial intelligence engine to decide where to place our numbers.
We simply made our choices and hoped for the best.
Now we're teaching a computer to do something remarkably similar.
Except the computer is trying to calculate its chances, evaluate its opponents, manage its virtual bankroll, and decide whether to raise the stakes.
All without knowing what number comes next.
And that's turning out to be one of the most interesting parts of building Hoosier Five Fingers.
Because sometimes the hardest part of teaching a computer to play isn't teaching it how to win.
It's teaching it how to be an interesting opponent.
— Little Dog Gaming
Hoosier Five Fingers is currently in development for iOS and Android. All wagering uses virtual chips exclusively, with no real-money gambling or cash prizes.
Follow our development journey at https://www.littledoggaming.com/blog.
#LittleDogGaming #HoosierFiveFingers #DeveloperDiaries #IndieGameDev #GameDevelopment