To reiterate some of the facts about the game:
- not everyone can see the doctor on any day.
- the doctor goes home and sometimes comes to work much later in the day.
- the normal working hours at the surgery remains the same.
We can:
- create a database of possible sicknesses by patients.
- create a diagnosis for each sickness that should also be stored in the database.
- estimate the time taken to make each diagnosis/nurse each patient (assuming no further complications).
These are the general steps for a visit to the doctor:
- Wait in queue for your registration turn
- Register (get file, make payment)
- Wait in queue to see the doctor
- Doctor's diagnosis
- Queue for medication
We need to take into account the amount of time all these would take, per patient, and subtract it from the normal working hours of the surgery. This way we can begin to determine the best way in which a large number of patients can be assisted daily.
The picture below gives a general and simplified idea of the game. There could ofcourse be a lot of loop holes in this but this serves as a great foundation on which to built/expand the game.
From an artificial intelligence point of view:
There are 4 characters: doctor, receptionist, assistant (for meds) and patient(s)
NPC = patient(s)
PC = doctor, receptionist, assistant
Definitions:
NPC (Non-Player Character) is a computer-controlled player that has to be built. it has to be given movement, behaviour, intelligence and stupidity.
PC (Player Character) is a human controlled character. This is you playing the game. And this is where the multiplayer idea ships in where three players can assume the roles of the doctor, receptionist and assistant at the same time.