| Gemma just crushed Qwen in a local LLM gamedev contest! Device: MacBook Pro M5 Max, 64GB RAM Qwen 3.6 27B: 32 tokens/sec · 18m 04s · 33,946 tokens. So what is more important: tokens per second, or the quality of the final answer? Qwen made a very long response and showed more creativity and visual style. But Gemma gave a shorter, clearer, and more logical answer in much less time. In this one-shot Pac-Man gamedev contest, Gemma 4 31B was the clear winner. Its game logic was stronger: click reactions were smoother, and it handled interactions with elements like walls, ghosts, and particle effects better. Open Source Local AI Models Server: atomic.chat Basic Prompt: Create a single standalone HTML file for a complete playable Pac-Man–style neon arcade game. Use only HTML, CSS, JavaScript, and one full-page canvas. No external libraries or assets—everything must be procedurally drawn and run immediately in the browser. Generate a compact (~21×21) symmetrical maze programmatically (no ASCII). It must be fully connected, playable, and use tile types (wall, path, pellet, power pellet, ghost spawn, Pac-Man spawn, fruit spawn). Ensure no unreachable pellets or invalid spawns. Canvas must fill the window. Center and scale the maze dynamically using available space (no fixed tile size). Reserve space for a HUD. Game states: title, playing, paused, life lost, level complete, game over. Include controls (keyboard + mobile). Title and game over screens must show instructions. Pac-Man: smooth tile movement, queued turns, no diagonal movement, no clipping, wraps through side tunnels, resets after life loss. Ghosts (4): simple pathfinding with distinct behaviors, spawn in a central house, exit with delays, move only on valid paths, never freeze. Gameplay:
Extras:
Technical:
Final output: only the complete HTML code. [link] [comments] |
Qwen 3.6 27B vs Gemma 4 31B - making Packman game!
Reddit r/LocalLLaMA / 5/1/2026
💬 OpinionDeveloper Stack & InfrastructureTools & Practical UsageModels & Research
Key Points
- In a local LLM game development contest on a MacBook Pro M5 Max (64GB RAM), Gemma 4 31B significantly outperformed Qwen 3.6 27B in the final Pac-Man-style game outcome despite lower token throughput.
- Performance metrics showed Qwen 3.6 27B generated at about 32 tokens/sec for a much longer response, while Gemma 4 31B produced fewer tokens at about 27 tokens/sec but completed the task faster (about 3m 51s vs 18m 04s).
- The article argues that answer quality and game-logic correctness (e.g., smoother click reactions and better handling of walls, ghosts, and particle effects) mattered more than raw tokens per second.
- It provides the prompt specification used for the one-shot task, requiring a single standalone HTML file with procedurally drawn, immediately runnable Pac-Man neon arcade gameplay using only HTML/CSS/JavaScript and one full-page canvas.
- The prompt details concrete gameplay and engineering requirements such as a connected symmetric maze generator, complete state machine (title/playing/paused/etc.), responsive controls for keyboard and mobile, smooth Pac-Man movement with wrap tunnels, and non-freezing ghost behaviors with delays.
Related Articles

Black Hat USA
AI Business

Builder Platforms Fail at Production. Here's What Changed for Us with Nometria
Dev.to

A beginner's guide to the Gemini-2.5-Flash model by Google on Replicate
Dev.to

Hugging Face 'Spaces' now acts as an MCP-App-Store. Anybody thinking on the security consequence?
Dev.to

8 AI Prompts That Win Freelance Clients (Copy-Paste Ready for 2026)
Dev.to