Gemma 4 12b 8Q Heretic Oneshot Coding
Mirrored from r/LocalLLaMA for archival readability. Support the source by reading on the original site.
| I was pretty impressed with the Gemma 4 12b release today and saw that the heretic version dropped. I was already getting refusals from the 8Q official model and decided to see how the heretic did oneshotting a retro game. It did so with ease. The single prompt start to finish ate 45k tokens total.
Here's my llama.cpp. ./llama.cpp/build/bin/llama-server -m /home/dsmason321/models/H-gemma-4-12B-heretic-Q8.gguf -c 256000 --jinja --chat-template-file /home/dsmason321/llama.cpp/models/templates/custom_pub_chat_template_gemma4.jinja --reasoning off --cache-type-k q8_0 --cache-type-v q8_0 Here is the prompt. Act as an expert Senior Frontend Developer and Game Designer. Your task is to write a complete, fully functional, and visually polished "Retro Cyberpunk Brick Breaker" game contained within a single, self-contained HTML file. You must deliver the absolute final code without placeholders, ellipses (...), or missing implementations. The game must be fully playable the moment it is saved and opened in a browser. ### Technical Architecture - Language: HTML5, CSS3, and Vanilla JavaScript. - Rendering: HTML5 <canvas> API. - File Structure: Single file. All CSS inside <style> tags, all JavaScript inside <script> tags. - Assets: NO external images, audio files, or libraries. All visual assets (player paddle, ball, bricks, particles) must be drawn programmatically using Canvas 2D context drawing methods (gradients, rects, arcs). ### Game Mechanics & Specifications
### Aesthetic & Visual Polish - Theme: Cyberpunk / Neon Synthwave. - Background: Deep midnight black or dark purple gradient. - Elements: Use bright neon colors (cyan, magenta, electric lime) for bricks and paddle. - Juiciness: Implement a simple particle explosion effect when a brick is destroyed (generate 5-8 tiny crumbling particle objects that fade out over a few frames). - Add a subtle glow effect to the canvas elements using `ctx.shadowBlur` and `ctx.shadowColor`. ### Implementation Requirements - Wrap the entire script cleanly. - Ensure all variable initializations, event listeners, state reset loops, and the requestAnimationFrame update loop are completely written out. - Do not add text commentary before or after the code block so the raw output can be stripped easily. Begin directly with <!DOCTYPE html>. [link] [comments] |
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.