Support keyboard and pointer
For a technical producer, this purchase recovery prototype should make every player action and clearly displayed outcome easy to evaluate. Write how to handle reloads, interrupted delivery, duplicate clicks, and insufficient Koin without double granting. Map preview, confirmation, cancellation, too little Koin, pending, success, delivery, owned, and reload. Give every failure a safe next action. Check tab order, focus indicators, mouse targets, escape behavior, and the return to game controls. Confirmation must never borrow an input that also performs a high-frequency gameplay action.
Plan for wide layouts
Keep the item, Koin amount, balance effect, and actions together on common desktop widths. Avoid pushing a player cancellation off screen simply because the game canvas occupies a large area.
Test window changes
Resize, move between displays, zoom, refresh, and restore a background tab. The interaction should preserve the selected item and resolve pending or delivered states without another grant.
Name every state and owner
Separate preview, confirmation, pending, success, delivery, owned, insufficient Koin, cancel, interrupted, and reopened states. Assign later production work for identity, persistence, native billing, security, refunds, policy, and monitoring.
Define idempotent recovery
Repeated confirmation, a slow response, navigation during delivery, and reopening must resolve to one result. Record which state is authoritative and how the player can safely retry without another grant or Koin deduction.
Turn the prototype into tickets
Capture the visible behavior first, then create implementation tasks with expected examples for each transition and platform boundary. Do not translate a working browser interaction into an unsupported claim that backend commerce is complete.
Keep pending understandable
If delivery is interrupted, explain whether the result is pending, safe to retry, or already complete. Do not show both failure and success. Test that behavior using desktop web games. Desktop browser purchases remain Koin flows inside the supported experience.
Make retry idempotent
Repeated clicks and reloads should resolve to one purchase result. The player must never receive duplicate items or lose Koin twice. Test that behavior using desktop web games. Desktop browser purchases remain Koin flows inside the supported experience.
Return to a safe game state
A player cancellation, too little Koin, and recoverable errors should preserve progress and offer a clear return or retry action. Test that behavior using desktop web games. Desktop browser purchases remain Koin flows inside the supported experience.