EduSim 2021


What it is?

Just a simple, browser-based discrete production systems simulator.

It can be played right here.

Since the development is in early stages, there’s only one production scenario.


Simulation instructions

The rules of simuluation are simple:

  • Each work day is exactly 8 hours, and there are 5 work days per week.
  • At the end of each week, 2500 fixed expenses should be paid.
    If you’re unable to pay it, the game ends.
  • You can make money by producing products:
    • The main product, made on the workstation E, is assembled of exactly one piece of the product A, and one piece of the product D. It can be sold fo 60 each piece, always.
    • The products A and D (made on the workstations A and D, respectively), can be also sold. The product A can be sold for 40, and the product D for 30. They are sold as spare parts.
    • There’s one catch: for each piece of the main product sold, you’re allowed to sell exactly one piece of each spare part. (So you can’t simply produce only products A, and sell them all for 40 a piece.)
  • Before you produce anything, workstations should be prepared to production (setup). And in order to setup any workstation, some resources are needed. So, before you order setup, make sure all the needed resources were acquired by the workstation.
    • Did I mention, that the number of resources is limited, so you won’t be able to setup and use all the workstations simultanously? I didn’t? Well, so I do it now.
  • In order to produce the product A, you have to:
    • buy raw materials on the workstation A (each piece is for 10),
    • prepare the workstation A to production (setup),
    • and then, simply wait, until all the products A are ready.
  • The lower production line is more complex:
    • on the workstation B, raw materials are processed into products B,
    • then, on the workstation C, products B are processed into products C,
    • and then, on the workstation D, products C are processed into products D.

Well, that all for now. Try the simulation, and try not to go banckrupt after the first week. Good luck!


Here’s the current version of EduSim 2021: download.


I’m not a lawyer, so here’s the list of what you are allowed to do with the software:

  • You can download it, and use it, as long as the usage is not commercial.
  • You can host it, as long as you credit this site.
  • You can distribute it, as long as you credit this site.

If you need something else, please contact me.

Roadmap… or not

Here’s my personal wishlist for the simulator, from the end-user’s point of view. I tried to make this list ordered, from the most to the least important features.

  1. POJO simulation specification (so you don’t have to write it in PureScript, nor compile it together with the simulation software; it should be enough to write specification in plain JavaScript; my dream is to allow anybody to create their own specifications, and to share them all with other people). Quite a lot of work, but I think it’ll be worth all the efforts.
  2. Save/load the simulation state (so you don’t have to play the whole simulation in one session).
  3. Automatic actions (like products transport, or products selling, so you don’t have to do it all on your own).
  4. Better stats in simulation (like usage of stations and resources).
  5. Better visualization (yet it will also require A LOT of work).

Where are the sources?

I’ll make it clear: EduSim 2021 (or whatever future versions will be called) is going to be released as open source.

My goal, since the beginning, was to provide such simulations for all interested. And so I will. Just not yet.


Because I don’t like giving something of poor quality.

And, believe me, the source code (so far) is of poor quality.

There are many reasons for this situation. The most important is that the simulator was written in about 2-3 weeks, as an experiment (but with clear goal to be functional). Whenever I had a choice between doing something right, and doing something just so it works, I chose the latter. As the effect, part of the code is a mess (especially the UI part). Managable mess, but a mess.

As for the UI part, it was an experiment, since the beginning. There are some good points of this experiment, but there are also many bad solutions, which are used (and so far I had no time to work them all out).

Distrubution of source code is like invitation to visit. I don’t invite anyone, unless my house is clean. So, I want to clean things up, before I share my source code with others.

I don’t know, how long it’ll take me. For now, I’m busy with my (paid) job, and with the videos I create and publish on this site.