Fun Experiment

Old Market Simulator — Meat Cutter Optimizer

Vanilla JS HTML/CSS Jan 2026
Meat Cutter Optimizer interface showing the medieval-themed optimization ledger

Fair warning: This is not enterprise software. I got tired of doing mental math while playing a video game, so I built a calculator in an afternoon. If you're here expecting microservices and CI/CD pipelines, you will be disappointed.

What is this?

Old Market Simulator is a co-op management game by Alcedo Games where you build and run your own medieval market — farming, fishing, raising livestock, and crafting goods to sell. One of the workshop machines is the Meat Cutter, which lets you process raw ingredients (fish, meat, spices) into finished products for your shelves.

Each recipe yields a different quantity at a different price, and you have limited ingredients to work with. Figuring out the optimal combination by hand gets tedious — especially when you're juggling shelf variety, existing stock, and the spread between wholesale and recommended pricing.

This tool does the math for you. Plug in what you have, and it tells you exactly what to cut.

Why I built it

I kept second-guessing my cutting decisions mid-game. Three batches of Filet Mignon, or spread across Rack, Ribeye, and Strip Steak? What if I already had sausages stocked? I wanted a quick answer without alt-tabbing to a spreadsheet, so I built this in an afternoon.

How to use it

Enter the raw ingredients you have on hand, optionally set your current shelf inventory, and the optimizer instantly calculates the most profitable set of cuts. You can tweak the variety slider to spread production across more product types, or switch between recommended and wholesale pricing.

Try it out

Open the optimizer, plug in your ingredients, and see what cuts to make.

Launch Meat Cutter Optimizer
Back to Lab