Skip to content

Planning a factory in Captain of Industry can be overwhelming. How many iron mines do you need? Which recipes should you use? What buildings are required?

Notifications You must be signed in to change notification settings

fredppm/coi-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

47 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿญ COI Calculator - Captain of Industry Factory Planner

The ultimate production chain calculator and factory planner for Captain of Industry

Transform complex factory planning into simple drag-and-drop fun! No more spreadsheets, no more guesswork - just pure factory optimization magic โœจ

๐ŸŽฎ โžค Start Planning Your Factory Now! ๐ŸŽฎ

GitHub stars GitHub forks

Next.js TypeScript ReactFlow MIT License


๐ŸŒŸ What is COI Calculator?

Planning a factory in Captain of Industry can be overwhelming. How many iron mines do you need? Which recipes should you use? What buildings are required?

COI Calculator makes it simple:

โœ… Just click what you want to make - Choose from 220+ resources
โœ… Drag and drop recipes - No complex setup needed
โœ… See everything at once - Buildings, resources, and connections
โœ… Share with friends - Send a link to get help or show off

Think of it as drawing your factory on paper, but smarter! ๐Ÿ“

๐Ÿ” Perfect for:

  • Factory optimization and production line balancing
  • Supply chain planning and resource management
  • Building placement and layout design
  • Recipe comparison and efficiency analysis
  • Multiplayer coordination and factory sharing
  • Learning Captain of Industry mechanics and recipes

๐ŸŽฏ Keywords:

captain of industry factory planner production calculator supply chain resource calculator manufacturing logistics industrial game city builder factory optimization production chain building calculator


๐ŸŽฎ Try It Now!

๐Ÿ‘‰ Open COI Calculator ๐Ÿ‘ˆ
(We're working together to get this live on GitHub Pages!)

No download, no installation - just click and start planning! Works on any device with a web browser.


๐Ÿ“ธ See It in Action

๐ŸŽฏ Choose Your Goal

Pick what you want to produce - from simple bread to complex microchips!

Choose your production goal Choose your production goal from 220+ resources

๐Ÿ”ง Pick Your Recipe

Select how you want to make it - different recipes need different buildings and resources.

Select recipes Browse recipes with clear input/output information

๐Ÿ—๏ธ Build Your Factory

Drag recipes around, connect them together, and watch the magic happen!

Interactive factory canvas Drag and drop to build your production chain

๐Ÿ“Š Analyze Your Design

See exactly what buildings you need and which resources you'll have extra.

Production analysis Smart analysis shows building requirements and resource balance

๐Ÿ”— Share Your Creation

Copy the link and share your factory design with friends!

Share factory designs Share designs with automatically compressed URLs


๐Ÿš€ Quick Start Guide

For Non-Technical Users (Recommended)

Just want to use the calculator? We've got you covered!

  1. ๐ŸŒ Visit the Online Version: github.io/coi-calc

    • No installation needed
    • Works on any device
    • Always up-to-date
    • (Working together to deploy this on GitHub Pages!)
  2. ๐Ÿ“ฑ Add to Home Screen (Mobile):

    • Open the link on your phone
    • Tap "Add to Home Screen"
    • Use it like a native app!

For Developers or Local Use

Want to run it on your computer or make changes?

# Download and run locally
git clone https://github.com/your-username/coi-calc.git
cd coi-calc
npm install
npm run dev

Open http://localhost:3000 and you're ready to go!


๐ŸŽฎ How to Use COI Calculator

Step 1: Choose What You Want to Make ๐ŸŽฏ

  1. Look at the left panel - you'll see resource categories
  2. Click on a category (like "Food" or "Electronics")
  3. Pick the resource you want to produce
  4. The calculator will show you available recipes

Tip: Start simple! Try making "Bread" or "Steel" first.

Step 2: Pick Your Recipe ๐Ÿ“‹

  1. You'll see recipe cards showing:

    • What building you need (with picture!)
    • What resources go in (inputs)
    • What you get out (outputs)
    • How long it takes
  2. Click the recipe you want to use

  3. A new node appears on the canvas - that's your factory building!

Step 3: Build the Chain ๐Ÿ”—

  1. See those red dots on your recipe? Those are inputs you need
  2. Click on a red dot to add a supplier recipe
  3. Keep clicking to build your entire production chain
  4. Drag the boxes around to organize them nicely

Tip: Follow the red dots to see what you need to make first!

Step 4: Make It Bigger ๐Ÿ“ˆ

  1. See the "+/-" buttons on each recipe box?
  2. Click "+" to make more of something
  3. Click "-" to make less
  4. Watch the numbers update automatically!

Step 5: Check Your Factory ๐Ÿ“Š

  1. Click the "Production Summary" button at the bottom
  2. See exactly how many buildings you need
  3. Check if you have extra resources (green) or need more (red)
  4. Adjust your multipliers to balance everything

Step 6: Share Your Design ๐Ÿ”—

  1. Copy the URL from your browser
  2. Send it to friends or paste it in Discord/forums
  3. Anyone can view and modify your design
  4. The link contains your entire factory!

๐Ÿ’ก Tips & Tricks

๐ŸŽฏ Getting Started

  • Start small: Try making simple things like "Iron Plate" first
  • Follow the dots: Red dots = need supplier, Green dots = can supply others
  • Use the summary: The bottom panel tells you everything you need

๐Ÿ”ง Building Efficiently

  • Check alternatives: Some resources have multiple recipes - pick the best one!
  • Balance production: Use multipliers to avoid waste
  • Plan ahead: Think about what buildings you already have in-game

๐Ÿ“ฑ Sharing & Collaboration

  • Copy early, copy often: URLs contain your entire design
  • Ask for help: Share links in the COI community for feedback
  • Learn from others: Explore shared designs to get ideas

๐Ÿค Community & Support

๐ŸŒŸ We're Here to Help!

New to Captain of Industry? Don't worry! This calculator is designed to help you learn.

Found a problem? We want to fix it!

Have an idea? We'd love to hear it!

๐Ÿ’ฌ Get in Touch

  • ๐Ÿ› Something broken?: Report it here
  • ๐Ÿ’ก Got an idea?: Share it here
  • ๐Ÿ—จ๏ธ General questions: Join our community discussions
  • โญ Like the calculator?: Give us a star on GitHub!

๐Ÿค— Want to Help?

Even if you're not a programmer, you can help make COI Calculator better:

  • Test new features: Try things out and tell us what works
  • Suggest improvements: What would make it easier to use?
  • Share with friends: More users = better feedback = better calculator
  • Report bugs: If something doesn't work, let us know!

๐Ÿ“Š What's Inside

๐ŸŽฏ Complete Game Data

  • 332 recipes from Captain of Industry
  • 220 resources with beautiful icons
  • 147 buildings with accurate information
  • 90%+ image coverage - see what everything looks like!

โšก Smart Features

  • Real-time calculations - numbers update instantly
  • Automatic balancing - see resource flows
  • URL sharing - designs are 80% smaller than they could be
  • Works everywhere - phone, tablet, computer

๐Ÿ”„ Always Up-to-Date

This calculator is hosted on GitHub Pages, which means:

  • โœ… Always available - 99.9% uptime
  • โœ… Fast loading - served from CDN
  • โœ… Automatic updates - new features appear automatically
  • โœ… No ads or tracking - just the calculator

๐Ÿ—บ๏ธ What's Coming Next?

๐ŸŽฏ Soon

  • Recipe search - Find recipes faster
  • Mobile improvements - Better phone experience
  • Save designs - Keep your favorite factories
  • More images - Even better visual coverage

๐Ÿ”ฎ Future Dreams

  • Export to game - Generate actual blueprints
  • Multiple factories - Plan complex supply chains
  • AI suggestions - Get optimization tips
  • Team planning - Collaborate in real-time

๐Ÿ“„ For Developers & Contributors

Want to help or run your own version? Check out our technical docs:

๐Ÿ› ๏ธ Built With

  • Frontend: Next.js 14 with TypeScript
  • Visualization: ReactFlow for the interactive canvas
  • Styling: Tailwind CSS for beautiful design
  • Hosting: GitHub Pages (free, fast, reliable!)
  • Data: Static files for lightning-fast loading

๐Ÿ™ Special Thanks

๐Ÿ’ Captain of Industry Team

This calculator uses game data from Captain of Industry. All game assets and data belong to Marek Bureลก and the development team. COI Calculator is a fan-made tool created with love for the community.

๐ŸŒŸ Community

Special thanks to everyone who:

  • Tests new features and reports bugs
  • Suggests improvements and new ideas
  • Shares designs and helps others
  • Spreads the word about the calculator

๐Ÿ“„ License

This project is free and open source under the MIT License. You can use it, modify it, and share it however you want!

Game assets remain the property of their owners.


Built with โค๏ธ for the Captain of Industry community

Ready to build the perfect factory? Start planning now! ๐Ÿญโœจ

About

Planning a factory in Captain of Industry can be overwhelming. How many iron mines do you need? Which recipes should you use? What buildings are required?

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages