Play Brick Breaker
The One Game Node With Actual Depth (Literally)
Of all the games in the ComfyUI-FANTA-GameBox pack (Snake, Flappy Bird, Billiards, and this), Brick Breaker is the one that most feels like an actual game rather than a desk toy. It drops a full Breakout clone into a ComfyUI node: you steer a paddle, smash bricks, juggle multiple balls, and watch the difficulty ramp as your score climbs. Like its siblings it does nothing to your image - no inputs, no outputs, no model involved. But if you're going to install a pack whose whole purpose is giving you something to do while a render cooks, this is the node you'll actually keep coming back to. The 90s called, and it wants its afternoon back.
How it works
The Python side is the same honest stub as the rest of the pack: empty INPUT_TYPES, empty return types, a placeholder function that does nothing. Everything that matters lives in js/brick_breaker_widget.js, which registers a frontend extension and injects a canvas plus score and lives readouts into the node body. The physics - ball speed, paddle collision, brick hits, the multi-ball state - all run in the browser on a game loop. Because the logic is pure frontend, the node has zero Python dependencies, zero model files, and zero network calls. In an ecosystem where custom nodes execute arbitrary Python on load (and that's how a pack with an actual FBI case got shipped), a node that just draws on a canvas is about as safe an install as exists.
Inputs and outputs: none, and that's the point
info_schema says it plainly: required empty, optional empty, outputs empty. There's nothing to connect - the node can't receive a prompt and won't hand anything downstream. It's marked an output node so it can sit standalone on the canvas. Don't hunt for a "lives to seed" socket; this is a toy, not a pipeline stage, and it never pretended otherwise.
The bricks have actual rules
The README spells out the brick hierarchy, and it's the real reason this game has legs:
- Red bricks - take 3 hits
- Yellow bricks - take 2 hits
- Green bricks - bonus points
- Purple bricks - split the ball into a double-ball
Difficulty climbs with your score, and you've got three lives before the paddle runs out. Controls are arrow keys or the mouse to steer the paddle, Enter to start/restart, and it supports pause/resume - handy when a queue item finishes mid-level. There's no on-node D-pad like Snake has; this one leans entirely on keyboard/mouse, so don't try to play it purely by clicking buttons on the node.
Installing it
cd ComfyUI/custom_nodes
git clone https://github.com/IIs-fanta/ComfyUI-SnakeGameNode
Restart ComfyUI and find it under "fun" (Games). ComfyUI Manager users: search "FANTA GameBox" - that's the pack's title. Skip the README's clone URL; it points at a stale fork name that isn't the current repo. No pip packages, no model downloads, nothing heavy. If the node doesn't appear, suspect a stale browser cache before anything else.
Gotchas
- Scores don't persist. Despite the README's "game state is automatically saved" line, the widget is registered with
serialize = false- the game isn't serialized into your workflow. Reload the page and your high score is gone. It lives in the browser tab, not your save file. - Frontend updates can kill it. DOM-widget packs like this hook directly into ComfyUI's frontend, which upstream keeps rewriting. The pack's own history shows a pattern of hasty copy-paste between widgets, so when a frontend change lands, don't be surprised if games start misbehaving - that's the known ecosystem fragility, not your install.
- Early days. The pack's community footprint is essentially a single self-promo post on r/comfyui. If the double-ball effect glitches, you're probably the first person in the world to hit it.
Inputs (0)
No inputs
Outputs (0)
No outputs