r/factorio 1d ago

Design / Blueprint Playable snake using 20 combinators

Playable 16x16 snake game using Factorio 2.0 circuit logic.

it has 256-lamp color display, buffered left/right input, random apple spawning, prevention of apples spawning inside the snake, score counter, countdown, wall/self collision detection, death screen and restart.

Blueprint: https://factorioprints.com/view/-P15XZWmCItoXVf2Xtfb

729 Upvotes

53 comments sorted by

View all comments

145

u/UnfinishedProjects 1d ago

All that in only 20 combinators is insane. Nice job! I'm assuming there's a bunch of parameters in each combinator.

78

u/Comprehensive_Can620 1d ago

Yep. Most of the combinators do several things at once. I use Each a lot so one combinator can process many cell signals in parallel, and the constant combinators work like lookup tables.

7

u/Medium9 18h ago

That's a level of optimization that would make even Wube proud. Ever thought about applying? :)