Welcome, Doctor!
A patient needs your help. Listen to their problem, find where it hurts, and choose the right tool to make them better.
đ
Doctor's Office Simulation
Welcome to the interactive doctor's office! You are the doctor. Your job is to listen to the patient, figure out where they are hurt, and choose the correct medical supply to help them.
Technical Details
This web application is built as a single, self-contained HTML file. It uses vanilla JavaScript for interactivity, CSS for all styling and animation, and is designed to be fully responsive.
Mouse and Touch Compatibility
The simulation is designed to work equally well on computers with a mouse and on tablets or phones with a touch screen. This is achieved through:
- Universal Events: All interactions use the standard `click` event, which browsers automatically trigger from both mouse clicks and screen taps.
- Responsive Design: The use of flexible CSS and a `viewport` meta tag allows the layout to adapt gracefully to any screen size.
- Touch-Aware Logic: The demo mode's auto-play feature specifically listens for `touchstart` events, ensuring immediate responsiveness on touch devices.