WarEra Buddy
“Don't ask players what they want to do. Read their situation and tell them what to do today.”
In numbers
The problem
WarEra is a browser strategy game with a real economy: companies, workers, wages, markets, regions with bonuses, and wars on top. Players make dozens of small money decisions every day, and most of them are guesses.
The game shows you numbers, but not what they mean for you: which company is quietly losing money, which worker costs more than they produce, where your damage is highest today.
So the idea was simple: don't make me work it out. Look at my account and tell me what to do.
What it does
- Daily briefing. One screen that says what needs doing today, and why.
- Trading terminal. A ticker tape, watchlist, line and candlestick charts from one day to all time, with volume, a moving average and bid/ask lines, plus the live order book and your own position.
- Investment radar. Unusual price dips, checked against past dips (did they recover, and what did they return after the spread?), with a guard for items that are still falling.
- Company cockpit. Every company's profit over the last 30 days, replayed at each day's prices, with the ones sliding into a loss flagged.
- Sell smarter. For each item you make: sell now or list it, how fast the market is moving, and the hour it usually sells highest.
- The rest of Eco mode. A company optimiser, market, hiring, treasury, and a reality check against your own last 7 days of trades.
- War mode. Where to fight today with your bonuses, a damage calculator that reproduces the battle screen, a build builder and buy-vs-craft for gear.
How it's built
Every number comes from the live game. Buddy reads the official game API and keeps a full market tape: every trade of the last 30 days, refreshed every 10 minutes, with true hourly price candles kept for good.
Every formula is checked against the game and registered with a confidence level, so when it's not sure, it says so instead of guessing.
321 automated tests keep the maths honest as the game changes. It's written in Python and runs 24/7 on my own machine behind a Cloudflare tunnel, with health checks that alert my phone if anything goes down.
In their words
What people say
“Before Buddy I ran my companies on guesswork. Now I open it every morning: it tells me which company is losing money and where my damage is highest, and the numbers match what the game shows. It's become part of how I play.”
“The trading terminal is better than anything the game gives you. I check the radar for dips before I buy, and knowing the hour an item sells highest has changed how I sell.”
