Complete original MakeCode JavaScript/TypeScript core and optional win-counter version. Same complete source on both intended devices, group27. Inputs A fire1/B water2/Shake earth3; fire beats earth, earth beats water, water beats fire, equal draw. Numeric payload round*10+choice. Device stores first recognised current-round remote choice, locks first local choice and evaluates once both exist. Both advance once with A+B after reading results, before new choices; compare displayed round labels. Old/future/unknown codes ignored; no queued future packet, acknowledgement, retry, authentication or guaranteed delivery. Missing messages can leave a device waiting. Optional wins only after core works; increment once per local WIN, retain across round reset and zero on restart. Source/model author checks are not MakeCode compilation/simulator, real gestures, physical radio/timing, learner or partner work. Record actual observations or Pending and label paper/model evidence honestly. Full program in PDF parts1–3 plus exact optional changes; complete files included for convenience.