Skip to content

3v0k4/cake-machine-kata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Cake Machine Kata (concurrent/parallel programming)

Write a console program to simulate a cake manufacturing factory.

Make as many cakes as possible. But don't worry about the ingredients, they are infinite.

A cake is ready after 3 stages:

  1. Preparation: random duration between 5 and 8 seconds
  2. Cooking: 10 seconds
  3. Packaging: 2 seconds

Each stage has a different amount of workers:

  • Preparation: 3 cakes at the same time
  • Cooking: 5 cakes at the same time
  • Packing: 2 cakes at the same time

Every minute, a report displays the number of cakes completed and the number of cakes at each stage of preparation.

Credits

https://github.com/aimenux/CakeMachineKata

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages