Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pja237/whoseturn
Minimalistic web-app (read: tech-demo, python-tornado+websockets) that handles the intricacies of food-ordering process in an office environment.
https://github.com/pja237/whoseturn
Last synced: 7 days ago
JSON representation
Minimalistic web-app (read: tech-demo, python-tornado+websockets) that handles the intricacies of food-ordering process in an office environment.
- Host: GitHub
- URL: https://github.com/pja237/whoseturn
- Owner: pja237
- Created: 2015-03-23T11:16:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-25T14:09:05.000Z (over 9 years ago)
- Last Synced: 2023-02-28T10:51:38.571Z (over 1 year ago)
- Language: Python
- Size: 656 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WhoseTurn
## Situation:
N people sitting in the office ordering food every day.
Each day, another person is responsible for gathering orders and calling the desired catering service.**Problem: whose turn is it to call next? :)**
**Solution**, a table (in our case on the whiteboard in the office), where each person is listed and starts with 0 points.
Every time a person eats and someone else ordered, he gets 1 point.
Every time a person does the ordering, he gets M points deducted where M is the number of people he did the ordering for.
Person(s) with the highest number of points are next.I've used this real-life situation as a little project to learn/experiment with python, tornado web framework, websockets...
How to install/configure is written in INSTALL.md file.
### STANDARD WARNING: this is a demo-exercise code. A whole ecosystem of dangerous bugs might be contained within.