A penalty shootout against TypeSafe Jev. Take turns shooting and keeping goal. One Render Workflows task owns the match, with scores saved in Render Postgres.
| Example | Code and deploy | Play |
|---|---|---|
| TypeScript | TypeScript README | Live game |
| Python | Python README | Live game |
Each example deploys its own web service, workflow, and paid Postgres database. They share the 3D frontend and game rules.
How it works · Related demo: Route Lab
The web service saves one Workflow run per match. If Render accepts the start but the reply is lost, both language examples reuse a key derived from that match to recover the original run. A new match gets a different key even when the player name is unchanged. The database lock and stored run ID remain in place.
Render deduplicates a key for 24 hours within the same workflow version. A new deployment can resolve the same task slug to a different version, so this is not a guarantee across deployments or after that window. It does not prevent a running task's own retries from repeating external actions. See the task-start contract.