Posts In: Development
21 October 2022
How Customers Decide to Buy Burgers 😋

Hello, 👋
It’s another lovely Friday, and I am excited to share the design process behind how customers decide to buy burgers.
Design Goal & First Steps
Our goal was to create a fun customer simulation for you to experience what it is like to be a business owner in the outdoor food industry😁. Food vendors interact daily with a broad range of people with different tastes and preferences, and they design offerings to meet those needs.
Engineering customer behaviour in the game was a challenge.
Because we could not cater to all customer tastes and preferences, we started by creating nine customer segments based on food-related lifestyles. 👨👩👧👦
Their purchase decision is influenced by one or a combination of the following factors:
– How appealing the Stand looks
– The price of burgers
– The food and service quality of the Stand
– Brand popularity of the business
Implementation
We divided the customer purchase journey into three steps:
– Purchase Awareness
– Purchase Activation
– Purchase Decision
Step 1: Purchase Awareness
Before customers can decide whether to buy from your Stand, they must first become aware of it. If they do not, they will keep going on their way. 🚶
They become aware by colliding with your Stand’s Range of Influence. The Range of Influence is like an invisible force field around your Stand. It alerts customers of its presence.
The size of a Stand’s Range of Influence size is determined by its Brand 🧑💼, Quality ⭐, and Appeal 😍. The stronger these are, the larger the range of influence and the higher the likelihood that customers will collide with the range of influence.
The Range of Influence formula is:
Colliding with a Stand’s Range of Influence activates the second step of the customer purchase journey.
Step 2: Purchase Activation
Now, the customer goes through various factors to determine whether they will buy. Their probability of purchasing from your Stand depends on how well your business satisfies these factors.
The following are the factors they consider.
Is the Stand classy enough?
Some customer segments, like Managers, have a minimum Stand requirement. There are six types of Stands available; if a customer segment does not consider the Stand you own classy enough, most will not buy from it. 👎
But this only applies to the more affluent customer segments 🏧. Other customers are not too bothered with what type of Stand your business owns. They just move on to the other factors.
Am I hungry?
Each customer segment has a time of day 🕒 when they are likely to be hungrier than at others. During the hungry periods, the customer’s activation probability gradually rises ⬆️ to a peak of 100%. It then dips ⬇️ to a low of 25% after that.
When customers collide with your Stand’s range, the system generates a random number between 0 – 100. If the number falls below the customer’s activation probability at that time, the customer will proceed to the next deciding factor. If it falls above it, the customer will continue on its way
How much does the burger cost?
Some customers are more sensitive to your burger price 💲 than others. These customers will pass if your burger seems expensive. They use the difference between your selling price and the cost of an average burger patty to decide its affordability.
Side note: We chose to use the burger patty as the basis for price sensitivity because it is the most valuable part of all the burger recipes in the game.
The lower the difference, the more affordable price-sensitive customers perceive the burger. This increases ⬆️ their purchase probability based on price.
Below is how the purchase probability for Students 🧑🎓 is calculated.
The formula results in this graph showing customer purchase probabilities at different selling-price-to-patty-cost ratios:
As the ratio increases, the purchase probability of each customer segment decreases. The process is similar for drinks 🥤. However, the basis for price sensitivity is the base cost of drinks.
The formula for parents 🧑🤝🧑:
The graph below displays the result of the formula for customers at different sales-to-cost-price ratios:
You can see customers are less sensitive to drink pricing than burger pricing. This is because drinks 🥤 are a complimentary product in the game.
Customers with a high purchase probability at your burger price will proceed to their final deciding factor.
Does the Stand have a good reputation?
Every Stand has a reputation which influences the number of customers it attracts. Reputable Stands attract more customers across all segments than those with a low reputation.
The two factors that form a Stand’s reputation are its Quality ⭐ and Appeal 😍. Quality has food and service aspects. Food and service quality depends on employee performance. Appeal depends on the type of stand and upgrades installed in it.
Some customers may decide not to buy from a Stand if its reputation is too low 👎. The purchase probability formula for the influencer segment based on Stand reputation is:
Below is the graphical representation of the formula across all customer segments at different quality or appeal values:
The purchase probability for each segment clearly increases with quality or appeal.
The customer’s purchase activation process culminates in an overall purchase probability figure. This figure is a combination of their time 🕒, price 💲, quality ⭐, and appeal 😍 purchase probabilities.
It is now time to decide.
Step 3: Purchase Decision
We all know that customers can be unpredictable sometimes. Your product could tick all the right boxes ✅, but they still decide to postpone their purchase for other reasons.
We factored in this slight deviation from predictability by adding an extra step at the purchase decision point.
After a customer’s overall purchase probability is determined, the system generates a random number between 0 – 100. If the number is less or equal to the overall purchase probability, the customer decides to buy from the Stand. But if the number is higher than the purchase probability, the customer postpones the purchase.
Conclusion
Understanding your customer’s decision-making process is essential to the growth and success of any real-life business 💹. We tried to replicate this in the game without spoiling the fun.
We hope the customer simulation provides an equally enjoyable and valuable experience for you as you build a successful food truck business.
That’s it for today, Cheers 🥂
Don’t forget to Wishlist the game if you haven’t: https://store.steampowered.com/app/1429080/Business_Heroes_Food_Truck_Simulation/
Live Long and Prosper 👋,
Kunal & the team
Follow For More
7 October 2022
Fixed: Understanding the Economy 💹🤔

Hello again, 👋
In the first version of this email, we incorrectly detailed the impact of the economic simulation on the game. We wrote that “The population size 👨👩👧👦 changes along with the economic situation”. That is slightly incorrect, and we apologize 🙏 for the error. The following is the actual impact on the game:
The population size is divided into outdoor and base population sizes. The outdoor population size is the total number of customers that are outdoors and willing to make a purchase. The base population size is the total number of customers, including those indoors.
The economic situation influences the outdoor population size. Many or fewer customers are willing to come out and spend depending on if the economy is in a growth phase or a downturn.
Each segment has a Base Economic Happiness, e.g. 40 units. Their current economic happiness per time will fluctuate upwards ↗️ or downwards ↘️ depending on the current economic condition.
Example of the calculation for the Parent segment.
Y generates the current economic happiness 😄 value of the Parent segment. You can see the difference between the outdoor and base population size as well as the current and base economic happiness in the customer segment tooltip.
Infusing realism in the business mechanics was vital to us from the beginning. That’s why each city in the game has a different difficulty level based on the price of raw materials 🍅🍞, economic situation 📉, and the weather ⛈️.
Like in real life, each city’s economy in the game experiences business cycles of economic growth and downturn. Although an average cycle lasts about ten years, we thought it would be fun to implement business cycles in the game as one-year events😎.
This mechanic adds a layer of consideration to your business strategy regarding making capital investments or taking new loans 🤑.
For instance, how do your investment plans change if your city’s population reduces spending because of a stock market crash 😱? And alternatively, increase their spending when the government implements fiscal stimulus? 💃
The city has nine customer segments with unique spending limits, and their perceived value of your burger 🍔 & drink 🥤 increases or decreases depending on the economic situation.
Here’s how we designed the economic simulation.
Let’s take Washington DC, as an example. The graph below shows the annual GDP growth for the US. Despite the micro tremors, the overall 10-year cycle is unmistakable. ⬇️
For our simulation, we picked the US’s ten-year average GDP growth rate (2%) to generate the base case scenario of the economy:
The graph below illustrates the outcome of the formula.
As you strive to grow your business, the economic growth percentage will move across the blue dotted line to simulate an economic growth or slow down.
Real economies also experience unexpected spikes and dips in the business cycle. We catered to this by implementing an events mechanic.
Based on the probability of occurrence, events such as technological breakthroughs 💻, international sports events 🏈, or trade wars and taxes will feed the simulation with spikes and dips.
How does this impact the game?
The population size is divided into outdoor and base population sizes. The outdoor population size is the total number of customers that are outdoors and willing to make a purchase. The base population size is the total number of customers, including those indoors.
The economic situation influences the outdoor population size. Many or fewer customers are willing to come out and spend depending on if the economy is in a growth phase or a downturn.
Each segment has a Base Economic Happiness, e.g. 40 units. Their current economic happiness per time will fluctuate upwards ↗️ or downwards ↘️ depending on the current economic condition.
Example of the calculation for the Parent segment.
Y generates the current economic happiness 😄 value of the Parent segment. You can see the difference between the outdoor and base population size as well as the current and base economic happiness in the customer segment tooltip.
Lower outdoor population sizes due to economic downturns lead to fewer sales for your business ☹️. You will need to strategize, adjust your price, increase your marketing spending and improve your burger quality to drive sales. Additionally, having enough savings to weather the hard times really helps. 😉
That’s it for today, Cheers 🥂
Don’t forget to Wishlist the game if you haven’t: https://store.steampowered.com/app/1429080/Business_Heroes_Food_Truck_Simulation/
Live Long and Prosper 👋,
Kunal & the team
Follow For More
7 October 2022
Understanding the Economy 💹🤔

Greetings, 👋
Welcome to your latest update on our progress🕺. Today, we’d dive into how the game’s economic simulation works.
Infusing realism in the business mechanics was vital to us from the beginning. That’s why each city in the game has a different difficulty level based on the price of raw materials 🍅🍞, economic situation 📉, and the weather ⛈️.
Like in real life, each city’s economy in the game experiences business cycles of economic growth and downturn. Although an average cycle lasts about ten years, we thought it would be fun to implement business cycles in the game as one-year events😎.
This mechanic adds a layer of consideration to your business strategy regarding making capital investments or taking new loans 🤑.
For instance, how do your investment plans change if your city’s population reduces spending because of a stock market crash 😱? And alternatively, increase their spending when the government implements fiscal stimulus? 💃
The city has nine customer segments with unique spending limits, and their perceived value of your burger 🍔 & drink 🥤 increases or decreases depending on the economic situation.
Here’s how we designed the economic simulation.
Let’s take Washington DC, as an example. The graph below shows the annual GDP growth for the US. Despite the micro tremors, the overall 10-year cycle is unmistakable. ⬇️
For our simulation, we picked the US’s ten-year average GDP growth rate (2%) to generate the base case scenario of the economy:
As you strive to grow your business, the economic growth percentage will move across the blue dotted line to simulate an economic growth or slow down.
Real economies also experience unexpected spikes and dips in the business cycle. We catered to this by implementing an events mechanic.
Based on the probability of occurrence, events such as technological breakthroughs 💻, international sports events 🏈, or trade wars and taxes will feed the simulation with spikes and dips.
How does this impact the game? The population size 👨👩👧👦 changes along with the economic situation. Each segment has a Base Happiness, e.g. 50 units. Their current happiness per time will fluctuate upwards ↗️ or downwards ↘️ depending on the current economic condition.
Example of a calculation for a Manager segment.
Y generates the current happiness 😄 value of the Manager segment.
We calculate the result by adding Base Happiness and Current Happiness as a percentage and multiplying by population size to get the adjusted population size for the current economic condition.
Less population leads to fewer sales for your business ☹️. You will need to strategize, adjust your price, increase your marketing spending and improve your burger quality to drive sales. Additionally, having enough savings to weather the hard times really helps. 😉
That’s it for today, Cheers 🥂
Don’t forget to Wishlist the game if you haven’t: https://store.steampowered.com/app/1429080/Business_Heroes_Food_Truck_Simulation/
Live Long and Prosper 👋,
Kunal & the team
Follow For More
23 September 2022
Behind the Scenes: How Weather Works ⛈️🌦️

Greetings, 👋
It’s great to catch up with you again this Friday. 🤩 We thought to take you behind the scenes to show you how we designed the game’s weather system. We really go into some detail on this one, so settle in. 🛋️
As you know, there are several major cities in the game. To improve the player experience and game difficulty,🤪we had to ensure that each city’s in-game weather mirrors the historical weather conditions of their real-life counterpart.
Getting this right was quite the challenge. 😅
We first tried to implement a replica of historical weather conditions in each city. But we quickly realized this would pose a problem with replayability as players would eventually find our data source 😨 and have an unfair advantage on the leaderboards.
So we decided to discard this method. 🚮
Our second and final approach was to use the normal distribution and the average values of temperature and precipitation in a city to generate the weather condition. For example, let’s take Washington DC as a case study.
Below is the real data for Washington DC:
By taking the average temperature as a mean and using a standard deviation of one, we randomly generated the temperature to fit within the high and low ranges. The Box–Muller transform was particularly useful here.
This method helped us account for the rare occurrence of a very high 🥵 or very low 🥶 temperature, which happens in reality. Similarly, for the precipitation, we used the average as a mean and a standard deviation of two to generate the amount of rain 🌧️, which directs the cloud volume. ☁️
You can observe a clear jump ⬆️ in averages as we move from month to month, which shouldn’t be so. To resolve this, we employed weekly peak averages instead of monthly, which made it work as intended.
Below is a yearly temperature simulation for Washington DC for the morning 🌅, afternoon 🕑, and evening 🌆.
The simulation for the rain/cloud below is for the mornings alone in Washington, DC. As you can see, most mornings, there is a light shower or an overcast, followed by sunny conditions and light rain.
We think this method strikes the right balance between fun 🕺💃 and computing requirements. 💻
The presence of rain ☔ and snow 🌨️ reduces the outdoor population in the game, thus reducing the number of sales possible during the period, just like in real life. You can always invest in upgrades to reduce the impact of weather on your business.
However, it might not be a profitable investment if your chosen customer segment is not big enough. It will take strategic thinking 🤔 and astute decision-making to discern the best time for an investment.
That’s it for today, Cheers 🥂
Don’t forget to Wishlist the game if you haven’t: https://store.steampowered.com/app/1429080/Business_Heroes_Food_Truck_Simulation/
Live Long and Prosper 👋,
Kunal & the team
Follow For More
9 September 2022
The shortest path to a stand 🚶

Greetings, 👋
It’s a lovely Friday in September, and you know we’ve got your update ready. This episode is about how we adjusted the pathing system to make customers move more efficiently to a food stand. Since we are using a 2D environment and handling thousands of city residents, this problem was slightly more challenging.
After a customer collides with the stand range and decides to buy a burger, they are assigned a queue point near the stand, and they proceed to that queue point.
In the image below:
– The stand is in red, and the stand range is in transparent red.
– The person’s path is in blue, and their path’s intersection points (where they can change their direction) are the green squares.
– The decision point in yellow is where they collide with the stand range and decide whether to buy a burger or not.
Previously, after colliding with the stand range, they would first head to the next path intersection point on their preset path before proceeding to their queue spot near the stand. This resulted in an inefficient movement along the yellow arrow to their queue spot, as shown below:
We wanted them to follow the shortest path to their queue spot from any intersection point. Like below:
To do this, we had to implement a path-finding system for everyone using a graph structure and Dijkstra’s algorithm, an algorithm for finding the shortest paths between specified points.
Now customers can find the shortest path to a food stand from any point in their journey across a location.
That’s it for today, Cheers 🥂
Don’t forget to Wishlist the game if you haven’t: https://store.steampowered.com/app/1429080/Business_Heroes_Food_Truck_Simulation/
Live Long and Prosper 👋,
Kunal & the team
Follow For More
26 August 2022
More User Interface Improvements

Greetings, 👋
Great to catch up with you again this week. We’ve been making more improvements to the UI in preparation for the demo (in case you missed the previous email, yes, we have a demo coming up very soon).
Some of the improvements we made:

New stand navigation system

Improved stock reordering

Streamlined stand upgrades process
Other improvements include:
- Reorganized all stand operation buttons to improve the stand management process.
- Implemented more stands (the demo might include up to 3 stands after all).
- Added an auto-reordering function for inventory for those who dislike micro-management. 😉
Before opening it up to the public, we will run a small, closed demo session for community members like you.
We can’t wait to hear what you think of it.
More details soon. Cheers 🥂
Don’t forget to Wishlist the game if you haven’t: https://store.steampowered.com/app/1429080/Business_Heroes_Food_Truck_Simulation/
Live Long and Prosper 👋,
Kunal & the team
Follow For More
12 August 2022
A demo is around the corner 🥳

Greetings, 👋
It’s another lovely Friday and we can’t wait to let you in on the latest developments. We are almost getting to the demo phase for the game, and we spent the last week planning what will be included in the earliest version.
Our goal is to give you a sneak peek of the game mechanics and how the game works. We intend to show off as much of the game as possible while keeping the demo relatively short and sweet. Here’s a quick overview of what to expect.
Access to all countries:
Single-player only (15-day Career mode):
Two stands available with upgrades:
Other planned features include:
- All customer segments
- Full population size
- All financial reports
- Banking activities
- All economic events
- Access to 3 Localities
- Stand management dashboard
We are still finalizing the exact date, but you can be sure you’ll be the first to know as soon as everything is confirmed. In the meantime, we would love to hear your thoughts and feedback on what you would like to see in the demo.
You can let us know by responding to this email.
That’s it for today. Cheers 🥂.
Don’t forget to Wishlist the game if you haven’t: https://store.steampowered.com/app/1429080/Business_Heroes_Food_Truck_Simulation/
Live Long and Prosper 👋,
Kunal & the team
Follow For More
29 July 2022
Fixing some pesky bugs

Greetings, 👋
Welcome to your latest update on our progress in building Business Heroes. We spent the last week fixing bugs in the game’s queuing animation system and developing its Bankruptcy logic.
The Bankruptcy logic is still in progress, but you are about to see how the queuing system now looks.
Previously we had an issue in multiplayer that caused the customers to collapse into each other when attempting to queue at a stand.
Definitely not how we wanted folks to queue up. 😂
After multiple deep dives into the murky waters of code that power the current customer pathing and animation systems, we discovered it was both a positional and syncing issue.
Several restructuring attempts later, we finally fixed it, and you can see the results below.
While at it, we segued into the main menu’s animation system to fix a pre-existing transition error we had been putting off.
The animation now works as intended, and this is how it looks:
We spent the rest of our time setting up the Bankruptcy section, especially for multiplayer. You’d get to see how it works pretty soon…hopefully. 😃
That’s it for today. Cheers 🥂.
Don’t forget to Wishlist the game if you haven’t: https://store.steampowered.com/app/1429080/Business_Heroes_Food_Truck_Simulation/
Live Long and Prosper 👋,
Kunal & the team
Follow For More
15 July 2022
New Look: Country Selection and Settings

Greetings, 👋
Another lovely Friday is upon us, and you know we have your update on our progress ready. We finished working on the main menu of the game this week. Included in the implementation are some updates to the country selection and settings section.
We improved the User Interface for country selection. We also added tooltips containing country-specific data to help guide your choice of a starting location.
New country-specific data include:
- Currency
- Weather
- Gross Domestic Product (GDP)
- Interest Rate
We moved the difficulty gauge down and made the prevalent weather in each country prominent. We decided to improve the visibility of the predominant weather because of its impact on gameplay.
Here’s how it looked previously:
The game settings section is also fully functional with all the accessibility options.
That’s it for today. Cheers 🥂.
Don’t forget to Wishlist the game if you haven’t: https://store.steampowered.com/app/1429080/Business_Heroes_Food_Truck_Simulation/
Live Long and Prosper 👋,
Kunal & the team
Follow For More
1 July 2022
Conquering the Financial Hub 💪

Hello, 👋
It’s another lovely Friday, and we definitely can’t wait to bring you up to speed on our development activities. We spent some time polishing the Financial Hub, and we thought you should see it.
The Financial Hub is the City’s lifeblood. Comparable to Wall Street, the location is packed full of hotshots in fancy suits and with fancy hair.
Most of the customers you’d find here are Managers, Staffs, and some Tourists. As the economic hotbed of the city, you can bet that the permit fee for a food stand would almost cost an arm and a leg.
If that’s not making it tough enough, the primary customer groups here are not the easiest to please. Managers are impatient with mediocre service, Tourists are fussy about food quality, and Staffs raise hell if your price is too high.
It’s generally not the best location for a new food truck business with limited funds trying to learn the ropes of the game.
A thorough understanding of the needs of these customer groups plus a sound grasp of your cash flow and inventory management is the only way to come out on top in the Financial Hub.
However, once you’ve got a good grasp of your business and how to satisfy your target customers, the Financial Hub could potentially be one of your cash cow locations. With three stand spots, the sky is truly the limit in terms of income.
After all, there aren’t many people in the city with as much money to burn as Managers when you can meet their demands.
That’s it for today. Cheers 🥂.
Don’t forget to Wishlist the game if you haven’t: https://store.steampowered.com/app/1429080/Business_Heroes_Food_Truck_Simulation/
Live Long and Prosper 👋,
Kunal & the team