Code covered by the BSD License
by Emile Demarteau
13 Feb 2011 (Updated 15 Feb 2011)
Let Matlab decide whose turn it is to get the coffee.
| Watch this File
First set the parameters in the first code cell. Then add the folder to your Matlab path and from now on you can enjoy CoffeeRoulette.
Credits for json2mat and json2mat go to Jonas Almeida http://code.google.com/p/json4mat/
Updated to correctly interpret the working hours.
Contact us at files@mathworks.com