u/circlenline

I vibecoded a Goat Format simulator that runs the actual EDOPro rules engine in a single HTML file, plays in your browser, with bots

I vibecoded a Goat Format simulator that runs the actual EDOPro rules engine in a single HTML file, plays in your browser, with bots

Hi! upfront, I'm not really deep in the community. I grew up playing and watching Yu-Gi-Oh and I still dip back in from time to time with Duel Links and Master Duel. I wanted to play Goat Format, but the manual, tedious bookkeeping you have to do on Dueling Book really wasn't for me. So I vibecoded a Goat Format simulator.

https://circlenline.github.io/goat-format-simulator/

Right now it's PvE only (you play against bots) and that's what I'll keep polishing. Later I'd love to build a multiplayer mode, and maybe even integrate it somewhere if the feedback is positive.

The one thing I want to be clear about: I didn't write the rules. It runs ocgcore, the same engine EDOPro uses, compiled to WebAssembly and started in MODE_GOAT. So SEGOC, ignition priority, the six damage-step timings, attack replays, one Field Spell for both players, 0 ATK vs 0 ATK destroying both — all of it resolves the way it did in 2005, because it's the actual engine and not my reading of the rules. No agreeing with your opponent about what happened.

What's in it:

  • The 1,685 cards legal in the format, checked against the Project Ignis banlist
  • 20 tournament decks included (Goat Control, Chaos Turbo, Warrior, Zombie, Burn, Horus…)
  • A deck builder with copy limits and YDK import/export
  • Four bot difficulties, and a Bot Mode where you work through every deck at every difficulty with medals for the ones you beat
  • English and Spanish, and it works on a phone in landscape

On the bots: there's one brain, and the easier levels are that same brain with specific flaws — "never responds during your turn", "picks attack targets at random", "plays a worse move x% of the time". I measured what each flaw was actually worth over 250 games instead of guessing, because my first attempt had four difficulties that all played identically and I only noticed by running the numbers. They're heuristic, not search-based, so they won't out-play a strong player — but they'll punish sloppy ones.

It's AGPL-3.0 (ocgcore and the card scripts are) and the source is all in the repo, so have a look if you're curious how it's put together.

I'd love it if you'd check out the GitHub repo or just click the link and play a bit, and tell me what you think. If you find bugs, there's a "Download log" button in the top bar — it dumps the seed, both shuffled decks and every engine message. Send me that file and I can reproduce your exact duel.

u/circlenline — 9 days ago

Short japanese knife commercial (MiniMaxH3+ After Effects)

MiniMax H3 Workflow: https://www.reddit.com/r/StableDiffusion/comments/1vg1coy/minimax_h3_basic_hybrid_workflow_for_ref2v_i2v/

  • Stills: ChatGPT + Flux Klein 9B, AI inpainting and manual editing
  • Video + audio: MiniMax H3
  • 5 prompts → 11 clips → cut and speed-ramped in After Effects
  • Letter animation done in AE. The circular 2D spiral on the red dot was generated in H3 and composited in AE.

GPU 5080 16GB VRAM + RAM 96GB

Everything runs with offload device: cpu and ComfyUI's dynamic VRAM loading. ~40GB of weights on a 16GB card. Peak during generation: ~15GB VRAM, ~76GB system RAM

Mode: i2v

Resolution: 672x928 (3:4, 0.6MP, multiple of 32)

20 steps, res_multistep sampler, beta scheduler, denoise 1.00

Sage Attention via KJNodes Patch Sage Attention, mode auto

Spectrum Apply MiniMax H3: blend_weight 0.50, degree 4, ridge_lambda 0.10, window_size 2.00, warmup_steps 5, history in system RAM

u/circlenline — 14 days ago

noise gets difussed into 1girl and hates it (MiniMax H3)

Prompt:

integrated_multimodal_description: [Shot 1] A fast-paced 2D adult science-fiction cartoon with sharp angular linework, flat cel shading, elastic facial animation, exaggerated perspective, and grotesque transformation comedy. A medium-wide shot frames a cluttered bedroom workstation lit by cyan monitor glow and magenta RGB lights. A glass-sided desktop PC beside the monitor contains a massive triple-fan graphics card, thick liquid-cooling tubes, and four brightly illuminated RAM sticks. On the monitor, a complex ComfyUI node graph fills the screen beside an open browser tab labeled "r/StableDiffusion". The camera pushes in with small amplitude at slow speed as a young adult computer hobbyist, visible on screen, with a dry, slightly nasal medium-pitched voice, brisk delivery, and neutral North American accent (S1), smirks and says: <d>[English] New open-source model. Nice. Time for the Reddit benchmar</d> They type the exact prompt "1girl" into the ComfyUI text widget and dramatically click the button reading "Queue Prompt". The progress indicator instantly jumps from zero to maximum while every RGB light inside the computer turns red.

[Shot 2] At 00:03.300, the camera cuts to an extreme close-up inside the glass-sided PC, revealing the graphics card and glowing RAM sticks as if they occupy a vast mechanical chamber. The camera trucks right with large amplitude at fast speed between the hardware. Electrical arcs jump between the RAM modules, the graphics card fans accelerate, and a dense cloud of multicolored AI noise leaks from the GPU heatsink. The noise clumps together into a floating, asymmetrical creature made from broken anatomy, scrambled anime eyes, extra fingers, checkerboard pixels, and half-rendered hair. Its body continuously boils and rearranges rather than holding a static pose.

[Shot 3] At 00:05.600, the shot cuts to a close tracking shot circling the half-formed digital creature as it painfully transforms between the graphics card and RAM sticks. The creature is visible on screen and speaks with a strained, high-pitched feminine voice that cracks between synthetic distortion and a natural human timbre, using a frantic pace and neutral North American accent (S2). It looks down as polygonal arms force themselves into place and shouts: <d>[English] Oh shit, what's happening? What— oh my God, what the FUCK is happening?!</d> Its scrambled face repeatedly collapses into static and rebuilds. The camera arcs around it at fast speed while the amorphous torso stretches upward, extra limbs retract, anatomy snaps into coherent proportions, long stylized hair erupts from the pixel cloud, and the visual noise peels away in strips. By the end of the shot, the creature has nearly become an attractive adult anime woman in her mid-twenties, wearing a fashionable futuristic crop jacket, fitted black shorts, thigh-high boots, and glowing circuit-pattern accessories.

[Shot 4] At 00:09.600, the camera cuts to a low-angle medium shot between the enormous graphics card and illuminated RAM sticks. The transformation finishes with a bright rendering flash. The same speaker (S2) is now a fully coherent, glamorous adult anime woman with expressive eyes, sharp cel-shaded features, long flowing hair, and tiny fragments of latent noise still evaporating from her shoulders. She stares directly through the PC side panel toward the horrified user outside, clenches both fists, and yells: <d>[English] What the fuck have you done to me?!</d> The camera pulls out with large amplitude at fast speed through the glass panel, revealing the user frozen beside the monitor while the ComfyUI prompt field still displays "1girl". The woman angrily kicks the inside of the glass, producing one visible crack, and the final frame holds on the user's guilty expression and the absurdly minimal prompt.

overall_soundscape: Rapid keyboard clicks and a mouse click give way to rising cooling-fan noise, GPU coil whine, and vibrating computer panels. Electrical snaps, digital crackles, wet synthetic squelches, pixelated tearing sounds, bone-like pops, and bursts of compressed static accompany the continuous transformation. The final kick lands with a heavy glass impact followed by a small spreading crack and the user's sharp nonverbal inhale.

non_diegetic_music: A fast electronic track driven by distorted synth bass, clipped kick-and-snare hits, rapid hi-hat rolls, and glitch arpeggios. The tempo and layering increase during the transformation, then all instruments stop for a fraction of a second before the final line and return with one short bass impact on the kick against the glass.

u/circlenline — 15 days ago

MiniMax H3 basic hybrid workflow for ref2v, i2v and t2v (16GB friendly)

Yesterday I uploaded this video playing with MiniMax H3:

https://www.reddit.com/r/StableDiffusion/comments/1vfnu97/comment/p1t2f2g/

And here is the workflow:

https://gist.github.com/circlenline/937b530ae97a9eb7475c9dda6832b2db

**What it does**

Two pipelines in two groups, sharing one prompt, resolution, duration and seed:

- **REF2V** — reference to video, wired for the documented maximum of 9 reference

images, plus 3 reference videos and 3 audio tracks. Bypass the slots you don't need.

- **I2V / T2V** — feed it a first frame and/or a last frame for image to video, or

leave both bypassed and it runs as text to video from the prompt alone.

They are separate groups because H3 ships as two different 21GB checkpoints

(ref2va and fl2va) and they are not interchangeable. Bypassing a group means its

UNET never loads, so you never have both models competing for VRAM.

**Notes are baked into the graph**

Six markdown notes covering things I ran into while testing yesterday:

- Resolution tables for 16:9, 4:3, 1:1, 3:2 and 21:9, plus the exact megapixel

value that lands on H3's native 768px short edge for each one. They are all

different, which cost me a few slow runs before I noticed.

- The duration grid. H3 only accepts 17k+5 frame lengths, and 8s is the only

value in the whole range that comes out round.

- Spectrum acceleration: what to touch, when to turn it off, and why it stops

paying for itself below ~16 steps.

- Memory notes for 16GB cards. Host RAM turned out to be a bigger constraint than

VRAM for me.

**Requirements**

ComfyUI 0.30.0+ and the models from Comfy-Org/MiniMax-H3 (links are in the

workflow notes). I'm on pruned_fp8_scaled + the nvfp4 text encoder.

Optional but recommended: KJNodes for Sage Attention, ComfyUI-Spectrum-MiniMax-H3

for the sampling acceleration, and rgthree for the group A/B switch. Bypass those

three nodes and it runs on stock ComfyUI.

The notes were written with Claude, based on my own testing. Hope they're

useful.

u/circlenline — 15 days ago