-
-
Save jasondown/7cb16b0d2b3299f5de6082d86d865e86 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Customer 1 is still hungry and orders another | |
Request for customer 1 will be fulfilled after machine is restocked | |
Customer 3 is still hungry and orders another | |
Request for customer 3 will be fulfilled after machine is restocked | |
Customer 3 is still hungry and orders another | |
Request for customer 3 will be fulfilled after machine is restocked | |
Customer 2 is still hungry and orders another | |
Request for customer 2 will be fulfilled after machine is restocked | |
Customer 3 is still hungry and orders another | |
Request for customer 3 will be fulfilled after machine is restocked | |
Restocking with 10 | |
Current stock: 10 | |
Vend item to customer 1 | |
New stock: 9 | |
Vend item to customer 3 | |
New stock: 8 | |
Vend item to customer 3 | |
New stock: 7 | |
Vend item to customer 2 | |
New stock: 6 | |
Vend item to customer 3 | |
New stock: 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment