OpenCode (DeepSeek V4 Pro via OpenRouter) in a Vercel Sandbox. Starter only (AGENTS.md, serve.py, player/, helpers/dom/view_kit). No hardcoded demo code. Cursor did not edit workspace/.
2026-10-15 · task joR_EbTGriqN · opencode · openrouter/deepseek/deepseek-v4-pro-0813
Build a short heads-up poker game, limit hold'em, a handful of hands, not a tournament. We each start with the same chips and small blinds. On my turn I can only do what the rules allow right then: fold, check, call, or bet and raise within the limit. I should see my cards and the board, and not the opponent's cards. Offer three opponents. One plays at random. One is me playing both seats, but when I am a seat I only see that seat's cards. One plays by roughly how strong its hand is. After the hands, score me by how many chips I won. Breaking even should sit in the middle. Show the table, the chips, and the score. The same match should deal the same cards if I restart it.
Running the prompt-created workspace on this machine — not a mock. Save an episode, then open Replay below to scrub the timeline.
opening · 0 ms
Exact files the agent wrote — not rewritten by hand.
# AI : shared Action contract — the page posts {"move": "..."}; keep this shape.
from pydantic import BaseModel
class Action(BaseModel):
move: str