MindPuck.Web/REAL-EYE-CHECK
Real-eye check (MS-1 sign-off)
MS-1 is reached when a real person, with their own camera, moves the puck to the goal in all three control schemes and finds the accuracy acceptable. No automated run can do this: the fake-camera smoke (npm run smoke, MP-T14) only proves the path works. This page is the owner's session, start to finish, about 20 minutes.
Before you start
- Both repos built, side by side (see overview.md):
MindAttic.Webcam(npm install,npm run build) andMindPuck.Web(npm install). - Optional, about three minutes: with
npm startrunning in another window, runnpm run smoke(it needs Chrome and ffmpeg). It should endall 8 steps passed. If it fails, stop here and file a fix ticket; the real session would be wasted. - Sit facing a light, not with a window behind you. Keep the camera at the top or bottom edge of the screen, level with your eyes as far as you can.
Part 1: this computer's webcam
- In
MindPuck.Web, runnpm start. It builds the game, starts the Webcam bridge and openshttp://localhost:8787/play/. - Gaze lab first, for the accuracy figure: open
http://localhost:8787/demo/, press Use this camera, then Calibrate (press Space, look at each dot until it fills, follow the moving dot, keep your eyes on the amber dot while you move your head), then Check accuracy, then Copy report. Paste the report somewhere safe; you need it for the sign-off. - Back on
/play/, press Use this camera. The game calibrates on first use (Space to begin); press C any time to calibrate again. - Win a level in each scheme. F1 steps through them; the one in use is named at the bottom centre.
N skips a level you find unfair (note its number, top left, for a ticket). B shows the solver winning it, which also shows where to look.- Magnetic: look where you want the puck to go.
- Steer: keep your eyes on the puck and shift them toward the edge on the side it should go.
- Repulsor: look behind the puck, never at the goal.
Part 2: a phone camera
- Keep
npm startrunning. Press Esc on/play/, then Use my phone. - The status line shows an
https://<address>:8788/tracker/link. Open it on a phone on the same Wi-Fi and accept the certificate warning once. Prop the phone at the top or bottom of the screen, facing you, and start its camera. - Press C on the computer to calibrate (the dots show on the computer; the phone watches you).
- Win a level in each of the three schemes again.
The gaze lab works with the phone too (Use a phone on /demo/); copy a second report if the phone feels different from the webcam.
Record the evidence
The sign-off is MS-1's check #1. Record it with the accuracy figure from the copied report (the typical error, as a percentage of the screen) and what you won:
tickets milestone check result MS-1 1 pass --evidence "webcam: error <n>% of screen, won magnetic/steer/repulsor; phone: error <n>%, won magnetic/steer/repulsor; <date>"
If the accuracy is not acceptable, record fail with the figure and what went wrong, and file a ticket in MindAttic.Webcam (the gaze pipeline) or here (the game) for each problem. Then the membrane MP-T23 closes on this recorded run with --ref naming the evidence.