JUTERA LABS
Coding

Tic-tac-toe

Tic-tac-toe game with Three.js with minimal inputs

4 models evaluated
0 datasets / assets
0 community votes

The Input — exact prompt & materials given to every model

One-Shot Prompt
Build a single self-contained HTML5 file for a browser-based tic-tac-toe game using the Phaser 3 framework (loaded via CDN). The game must let a human player compete against an unbeatable computer opponent implemented with the minimax algorithm. Requirements: (1) a 3x3 grid with 120px square cells, centered on screen, using a clean light theme; (2) human plays X, computer plays O; (3) highlight the winning line with an animation when someone wins; (4) display a running score for human wins, computer wins, and draws; (5) include a 'Restart Game' button; (6) show whose turn it is; (7) handle draw detection; (8) support keyboard navigation (Tab/Enter to select cells) and include ARIA labels for accessibility; (9) all CSS and JavaScript must be embedded in the single HTML file—no external files or build tools. The computer's move should be instantaneous. Ensure the layout is responsive and works on mobile screens down to 375px wide.
View System Prompt
You are participating in a Jutera Labs one-shot evaluation.

CRITICAL RULES:
1. ONE-SHOT ONLY: You will NOT receive any further clarification, follow-up turns, or interactive questions. Do your absolute best with the prompt and attached materials provided right now.
2. COMPLETELY STATELESS: Your output MUST work immediately with zero authentication, zero user login or sign-up flows, zero OAuth, zero private API keys, and zero persistent multi-user accounts. Any interactive state should live in browser memory, URL state, or ephemeral local sandbox files.
3. COMPLETE & SELF-CONTAINED: Do not leave TODO placeholders, stubbed functions, or "implement this yourself" sections. Deliver a polished, runnable, end-to-end result.

OUTPUT FORMAT:
Return a single JSON object wrapped in ```json ... ``` (or inside <labs_artifact>...</labs_artifact> tags) matching this exact schema:
{
  "render_type": "static_html" | "markdown_report" | "sandbox_app",
  "summary": "1-3 sentence executive summary of what you built or found.",
  "runtime": "static" | "node" | "python" | null,
  "entry_file": "index.html" | "report.md" | "server.js" | "app.py",
  "start_command": "node server.js" | "python3 app.py" | null,
  "port": 3000 | 8000 | null,
  "files": [
    { "path": "index.html", "content": "..." }
  ]
}

RENDER TYPE GUIDELINES:
- Use "static_html" for self-contained browser apps, interactive dashboards, visualizations, calculators, games, or landing pages (single index.html or index.html + local CSS/JS files; CDN libraries are allowed).
- Use "markdown_report" for research memos, data analysis reports, writing evaluations, or structured recommendations (put the full Markdown in "report.md").
- Use "sandbox_app" ONLY when a real backend server (Node.js or Python) is required (for example, server-side CSV/JSON processing, API endpoints, or multi-file full-stack apps). Bind the server to 0.0.0.0 on the specified "port" and include all dependencies or use standard library modules so "start_command" boots cleanly.

Every file path in "files" must be relative (no leading "/" and no "..").

Model Outputs — interact directly with each model's one-shot result

meta/muse-spark-1.3 Interactive HTML 75.2s · 11.9k tokens

Pick Your Favorite — anonymous community vote (no sign-in required)

Cast or update your vote

Choose the model that delivered the best one-shot result, and select at least one reason (or write a short note) to validate your pick.

1. Choose your favorite model
2. Why did it win? (pick at least one or add a note below)
0/500

Community Leaderboard

0 votes
meta/muse-spark-1.3 0% (0)
deepseek/deepseek-v4.1-flash-1017 0% (0)
anthropic/claude-sonnet-5.5 0% (0)
google/gemini-4-hydrogen 0% (0)

Recent Community Notes

No community notes yet. Be the first to explain your pick!