frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Unflip – a puzzle game about XOR patterns of squares

https://unflipgame.com/
112•bogdanoff_2•4d ago

Comments

BoppreH•9h ago
Very nice and satisfying, but I would suggest ramping up the difficulty a little faster. I got until lvl 15 by just flipping the obvious areas, taking no more than 2 seconds. It's otherwise very cool and minimalist.

Edit: limiting it to square flips was a great idea. There are just enough moves to make the answer non-obvious (after lvl 15), but not so many possible moves that you get overwhelmed.

---

Edit 2: I just remembered I made a similar "game"[1], where you select columns to XOR with other columns and try to reach the target pattern. Use the scroll wheel and shift+wheel to change the pattern and size.

That was actually part of a real research project in optimizing circuits for computing binary finite fields, where the "game" was a sandbox to try different algorithms. The best algorithm was actually found by someone playing in this sandbox and coming up with an efficient strategy.

[1] https://boppreh.com/source/playreduce/

bogdanoff_2•4h ago
Thanks! And yeah, I've gotten the suggestion to ramp up difficulty faster from a few people.

Although interestingly some other people in the comments here say they liked how the progression goes.

And that's an interesting little game you made.

And I spent quite some time creating an algorithm and solver to find the par for Unflip. I'm planning to release a blog post about it soon

riffraff•2h ago
I think if you make the par visible in the "result screen" and add a "try again" option to "next" this could make it more interesting without the need to ramp up difficulty. I think I solved a few cases with a bunch of random shifts, for example, and may have switched to thinking mode if I was faced with that.
stephenlf•9h ago
Love it. The “par” value is a huge hint. You might consider hiding it
bogdanoff_2•4h ago
That makes sense. I think what I'm gonna try is hiding it until the level is solved at least once.
martin_balsam•9h ago
I agree the ramp up is a bit slow, but I love the concept, and the interface. I am stuck at level 26

edit: found a way to solve it in 6, but not in 4

stephenlf•9h ago
Level 24. I took a natural approach (pull each corner to the center) and got a rather unfortunate picture

—-

Edit: and the right answer was so obvious, too

snowfield•8h ago
Played until 27. All the levels were pretty easy, 15-30 seconds per level. Mainly because of the "par" feature
jy14898•8h ago
Stopped at 74 but managed to par all before that somehow. Didn't really do any problem solving/deep thinking about it, just clicking what felt right
lovegrenoble•8h ago
Neumorphic knot, a puzzle about Knot patterns: https://brainteaser.top/knot/index.html
intalentive•7h ago
I like it. Played a bunch of levels. I could feel my brain learning new patterns (like the card game Set). There are a handful of really useful primitives.
wilsonnb3•7h ago
Had a lot of fun with this, great job on the concept and presentation!
bogdanoff_2•4h ago
Thanks! I'm glad you enjoyed it!
james_marks•7h ago
Really nice concept and super clean execution. Wish I’d had 1/2 this restraint on adding complexity when I made my own tile-based puzzle game[0]

[0] https://www.hidden-mirrors.com

zem•7h ago
I really love how the first few levels teach you about various solving elements and patterns. very well done.
bogdanoff_2•4h ago
Yeah, that was the idea.
atum47•6h ago
Android gestures need to be prevented in order for the game to work on mobile (drag finger from right to left go back). Nice game thought.
bogdanoff_2•4h ago
Interesting. I don't get that on my android phone. What model and browser are you using?
vunderba•6h ago
Nice job. I'm reminded of the "Lights Out" game [1].

https://en.wikipedia.org/wiki/Lights_Out_(game)

kinduff•6h ago
Did I just get flipped in level 13? I really like it, the level progression feels good. Very nice execution.
Retr0id•5h ago
Level 60 is a fun one
anigbrowl•5h ago
Yes I got stuck there for a while. I did a few more after that but my interest waned. I did spend a lot fo time feeling ike a pixel in Conway's game of Life.
bogdanoff_2•3h ago
Ah, yes, the single-pixel level.
mikewarot•4h ago
Wow... 120 levels... that was hard. I kept getting down to 1 square, and that always stumps me.
bogdanoff_2•3h ago
wait, did you actually do the whole 120 levels in one sitting? Wow. How long did it take you?
bogdanoff_2•3h ago
If anyone wants an extra challenge: think, how would you write a solver for this?
NatKarmios•2h ago
Tangentially related, have you heard of Bombe? It's a hexagonal minesweeper where you write rules to solve every possible scenario. It even checks your rules' satisfiability via SMT.
penwielder•2h ago
(If I'm trying not to spoil anything, do I even post? Maybe I can encourage someone else to have fun giving it more thought.) At least one elegant and efficient answer is within reach for many. The person who first pointed it out to me didn't need to know the relevant branch of mathematics to do so; he intuited the shape of it without the formal terminology.

I'll be particularly curious to hear the pattern(s) in how many solutions there are, and/or the probability of a random board being solvable.

The haptic feedback on mobile is really on point in this implementation.

fsckboy•42m ago
i have a strong quibble about calling this XOR. XOR takes two arguments and one of the arguments here is implicit. The game inverts the square colors, which XORing with "1" will do, but it's not defined whether white or black is 1, it just inverts white and black.

Show HN: Unflip – a puzzle game about XOR patterns of squares

https://unflipgame.com/
112•bogdanoff_2•4d ago•29 comments

Show HN: ChronoGuard–Zero-trust proxy for browser automation with temporal ctrls

https://github.com/j-raghavan/ChronoGuard
2•j-raghavan•1h ago•0 comments

Show HN: Smooth window arrangement in macOS restored

https://github.com/ranvel/SmoothMove
2•ranvel•3h ago•0 comments

Show HN: High-Performance .NET Bindings for the Vello Sparse Strips CPU Renderer

https://github.com/wieslawsoltes/SparseStrips
12•wiso•4d ago•3 comments

Show HN: Tiny Diffusion – A character-level text diffusion model from scratch

https://github.com/nathan-barry/tiny-diffusion
159•nathan-barry•5d ago•19 comments

Show HN: SelenAI – Terminal AI pair-programmer with sandboxed Lua tools

https://github.com/Almclean/selenai
3•moridin•7h ago•0 comments

Show HN: Encore – Type-safe back end framework that generates infra from code

https://github.com/encoredev/encore
74•andout_•1d ago•47 comments

Show HN: DBOS Java – Postgres-Backed Durable Workflows

https://github.com/dbos-inc/dbos-transact-java
110•KraftyOne•2d ago•56 comments

Show HN: Pdsink – A new USB-PD 3.2 sink stack for embedded devices

https://github.com/pdsink/pdsink
4•pu•10h ago•1 comments

Show HN: Socratic, a knowledge-base builder for agents where YOU stay in control

https://github.com/kevins981/Socratic
2•kevinsong981•11h ago•2 comments

Show HN: Epstein Files Organized and Searchable

https://searchepsteinfiles.com/
304•searchepstein•1d ago•53 comments

Show HN: ZenPaint, a pixel-perfect MacPaint recreation for the browser

https://zenpaint.org/
13•allthreespies•11h ago•5 comments

Show HN: AI Domain Data Standard – Self-Hosted, DNS-Based Identity for AI

https://github.com/ai-domain-data/spec
2•dylanl37•12h ago•0 comments

Show HN: An Apache Beam batch processing clone in Rust

https://github.com/nhubbard/ironbeam
3•nhubbard•12h ago•0 comments

Show HN: Chirp – Local Windows dictation with ParakeetV3 no executable required

https://github.com/Whamp/chirp
31•whamp•1d ago•18 comments

Show HN: Cj–tiny no-deps JIT in C for x86-64 and ARM64

https://github.com/hellerve-pl-experiments/cj
21•hellerve•1w ago•1 comments

Show HN: UnisonDB – B+Tree DB with sub-second replication to 100+ nodes

https://github.com/ankur-anand/unisondb
14•ankuranand•1d ago•1 comments

Show HN: Keepr – A Secure and Offline Open Source CLI Password Manager

11•bsamarji•1d ago•13 comments

Show HN: An easy-to-use online curve fitting tool

https://byx2000.github.io/curve-fit/
35•byx•1w ago•13 comments

Show HN: DeepClause – A Neurosymbolic AI System Built on WASM and Prolog

https://github.com/deepclause/deepclause-desktop
2•schmuhblaster•17h ago•0 comments

Show HN: I built IncidentPulse after getting paged at 3 AM

https://incident-pulse.vercel.app
5•bhoyee•18h ago•1 comments

Show HN: RAG-chunk – A CLI to test RAG chunking strategies

https://github.com/messkan/rag-chunk
5•messkan•19h ago•3 comments

Show HN: Dumbass Business Ideas

https://dumbassideas.com
38•elysionmind•1d ago•30 comments

Show HN: Cactoide – Federated RSVP Platform

https://cactoide.org/
67•orbanlevi•4d ago•29 comments

Show HN: Gerbil – an open source desktop app for running LLMs locally

https://github.com/lone-cloud/gerbil
36•lone-cloud•4d ago•12 comments

Show HN: spymux – Spy on your tmux panes

https://github.com/terror/spymux
9•crap•1d ago•4 comments

Show HN: What if MCP agents were JIT compiled to code?

https://github.com/stanford-mast/a1
4•ardmiller•1d ago•0 comments

Show HN: European tech news in 6 languages

https://europedigital.cloud/en/news
44•Merinov•1d ago•42 comments

Show HN: Cancer diagnosis makes for an interesting RL environment for LLMs

45•dchu17•3d ago•20 comments

Show HN: Wikidive – AI guided deep diving into Wikipedia

https://wikidive.net/
4•atulvi•1d ago•2 comments