frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Color Me Same – A new kind of logic game

https://color-me-same.franzai.com/
25•franze•3d ago

Comments

pimlottc•9h ago
https://en.m.wikipedia.org/wiki/Lights_Out_(game)
pryelluw•9h ago
Neat game. Needs levels and milestones in order to keep me motivated. How about a theme as well? Maybe adjustable difficulty. Overall, good start.
HeavyStorm•8h ago
Good implementation, but this puzzle had been invented many times before.
satisfice•7h ago
After level 10 the levels are all the same?
franze•2h ago
Thanks for the bug report!

Found it: the puzzle generator had a "parity check" that only allowed clicking each tile once. On a 3x3 grid (9 tiles), this capped all puzzles at 9 moves maximum, even though levels 10-20 were supposed to require 10-20 moves.

The root cause: We were using binary logic (clicked/not-clicked) in a game with 3-color cycling. With 3 colors, each tile can be usefully clicked up to 2 times before returning to its original state.

fix v1.87.0: Changed from binary parity to tracking actual click counts, allowing each tile to be clicked (colors - 1) times. This enables up to 18 moves on a 3x3 grid, exactly as pyt correctly calculated!

Now levels properly progress: - Levels 1-18: 3x3 grid (max 18 moves) - Levels 19-32: 4x4 grid (max 32 moves) - Levels 33+: 5x5 grid (max 50 moves)

Thanks for playing!

refulgentis•7h ago
Too hard to play, felt like it told me what to do for 3 levels then got impossible
ethan_smith•7h ago
This is a variant of the "Lights Out" puzzle which has interesting mathematical properties related to linear algebra over GF(2) and can be solved systematically using Gaussian elimination.
ghostly_s•6h ago
Aren't the rules basically the same as Conway's Life as well?
mkl•2h ago
Not at all: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life#Rules, https://en.wikipedia.org/wiki/Lights_Out_(game)
stoneman24•2h ago
A long time ago, I solved a 5 by 5 version of this with a genetic algorithm. Wasn’t the most efficient way.

As you say, Gaussian elimination can be used for a more systematic approach.

chihuahua•6h ago
I have no idea what the rules are. There is no explanation at all. At one point, the label "Tutorial levels 1-3" appeared on the screen for about 0.5 seconds and disappeared before I could click on it.

I have no idea how this is supposed to work.

xtracto•5h ago
I feel it would be better to start cycling 2 colors, so that you naturally "catch" the reasoning you have to do. Then keep adding colors.

It reminds me of the dual n-back game, where you had to remember N steps before of 2 things. You start with 1-back and progress once you "get it".

As it is now, I just couldn't "get" what was the required reasoning behind this puzzle, before I got frustrated and left. And the hints didn't give me nothing personally, because once you get it, it basically solves it, without actually helping you understand the reasoning process.

Also similar to Sudoku... if you start with a difficult one, you just get lost. You have to learn the reasoning tricks.

franze•2h ago
will do the 2 colors for starters after my business meeting right now.
franze•22m ago
done
boothby•5h ago
It appears to be "lights out" with more states. https://en.m.wikipedia.org/wiki/Lights_Out_(game)
Timwi•1h ago
Remind me never to play Mao with you lol
siberianbot•5h ago
> A new kind of logic game

Until you find the pattern.

Also all level after Level 10 becomes the same.

franze•2h ago
Fixed it. The level 10 bug, not the finding the pattern.
pyt•4h ago
RGR / GBG / RGR would be the final level if the game progressed beyond 10, it requires 18 clicks to solve. All other states can be solved in fewer than 18 clicks.
franze•2h ago
grid gets bigger over time

  - Levels 1-18: 3x3 grid (max 18 moves)
  - Levels 19-32: 4x4 grid (max 32 moves)
  - Levels 33+: 5x5 grid (max 50 moves)
retsibsi•2h ago
I like it! I'm curious how the target move count (the one used to calculate the efficiency score) is determined. I thought it was the minimum number of moves required, but then I solved a puzzle in 5/7 moves for 140% efficiency.

edit: I then got a level 8 puzzle that could be solved in just 3 moves! I wonder if this is a deliberate possibility, or an issue with the puzzle generator/classifier?

franze•2h ago
the math is hard. bascically the level generator starts with a solved grid and then does "reversed clicks", so yeah, there might always be cases where there are faster solutions, but I try to minimize the propability of these cases.
vrighter•2h ago
Why does it take a whole second after each click for it to update?
franze•2h ago
should not be, what browser / environment? there is some math after each move to check if the level is still solvable. not all states are solvable (in all grid sizes) but it should be pretty fast.
vrighter•1h ago
That should be it then. You shouldn't need to do that after each move. You should do that once at the beginning of a game, and if it's solvable on the first move, it's solvable for any configuration that can be reached by applying moves.

Ex. if there are 4 colors, and I clicked once, I can click 3 times to get to my original state. Therefore if you prove one configuration solvable, then, given that I can always reverse my own moves to get back to that state, it means all configurations are (that can be reached in the current game).

tldr: any move on a solvable grid, will result in another solvable grid.

tosh•1h ago
I like the look and feel.

I did not really get how the mechanic works. Once I got how the mechanic works I did not get how I can use it to solve it.

That said: I would have said the same about a rubik's cube with a 10s attention span.

Pony: An actor-model, capabilities-secure, high-performance programming language

https://www.ponylang.io/discover/
122•RossBencina•5h ago•69 comments

Nothing to watch – Experimental gallery visualizing 50k film posters

https://nothing-to-watch.port80.ch
8•bj-rn•1h ago•0 comments

Sign in with Google in Chrome

https://underpassapp.com/news/2025/7/5.html
382•frizlab•14h ago•204 comments

I designed my own fast game streaming video codec – PyroWave

https://themaister.net/blog/2025/06/16/i-designed-my-own-ridiculously-fast-game-streaming-video-codec-pyrowave/
347•Bogdanp•14h ago•105 comments

Copyparty – Turn almost any device into a file server

https://github.com/9001/copyparty
795•saint11•19h ago•126 comments

Tao on “blue team” vs. “red team” LLMs

https://mathstodon.xyz/@tao/114915604830689046
461•qsort•20h ago•146 comments

Rotring 600 Ballpoint Pen

https://www.shellshore.com/review-rotring-600-ballpoint-pen/
99•Alupis•3d ago•80 comments

Exploiting zero days in abandoned hardware

https://blog.trailofbits.com/2025/07/25/exploiting-zero-days-in-abandoned-hardware/
18•ingve•3d ago•1 comments

50x rendering speed improvements in Hologram (Elixir web framework)

https://hologram.page/blog/hologram-v0-5-0-released
16•bartblast•3d ago•13 comments

Different Clocks

https://ianto-cannon.github.io/clock.html
188•pppone•15h ago•33 comments

Truchet Tiles

https://en.wikipedia.org/wiki/Truchet_tiles
41•downboots•3d ago•8 comments

Wikimedia Foundation Challenges UK Online Safety Act Regulations

https://wikimediafoundation.org/news/2025/07/17/wikimedia-foundation-challenges-uk-online-safety-act-regulations/
8•Nurw•35m ago•0 comments

Tour de France confronts a new threat: Are cyclists using tiny motors?

https://www.washingtonpost.com/world/2025/07/25/tour-france-bikes-hidden-motors/
62•bookofjoe•3d ago•115 comments

SQLx – Rust SQL Toolkit

https://github.com/launchbadge/sqlx
157•stmw•3d ago•65 comments

Claude Code weekly rate limits

520•thebestmoshe•16h ago•620 comments

Show HN: Use Their ID – Use your local UK MP’s ID for the Online Safety Act

https://use-their-id.com/
725•timje1•12h ago•212 comments

Enough AI copilots, we need AI HUDs

https://www.geoffreylitt.com/2025/07/27/enough-ai-copilots-we-need-ai-huds
875•walterbell•1d ago•245 comments

Show HN: Companies use AI to take your calls. I built AI to make them for you

https://www.pipervoice.com/
95•michaelphi•12h ago•78 comments

Simplify, then add delightness: On designing for children

https://shaneosullivan.wordpress.com/2025/07/28/on-designing-for-children/
168•shaneos•19h ago•61 comments

Built a rickroll machine that rickrolls you with microservices

https://github.com/nabbonoushad/Chaotic-Rickroll-Machine
20•darad•4d ago•11 comments

Félix Nadar: the first celebrity photographer

https://www.bbc.com/culture/article/20190114-flix-nadar-the-worlds-first-celebrity-photographer
3•lordleft•3d ago•0 comments

GLM-4.5: Reasoning, Coding, and Agentic Abililties

https://z.ai/blog/glm-4.5
208•GaggiX•20h ago•110 comments

The EU could be scanning your chats by October 2025

https://www.techradar.com/computing/cyber-security/the-eu-could-be-scanning-your-chats-by-october-2025-heres-everything-we-know
203•saubeidl•3h ago•161 comments

Fintech dystopia

https://fintechdystopia.com/
211•LasEspuelas•8h ago•184 comments

The Useless UseCallback

https://tkdodo.eu/blog/the-useless-use-callback
89•0xedb•14h ago•70 comments

Terminal app can now run full graphical Linux apps in the latest Android Canary

https://www.androidauthority.com/linux-terminal-graphical-apps-3580905/
206•thunderbong•3d ago•91 comments

The Vatican observatory looks to the heavens

https://www.newyorker.com/magazine/2025/08/04/the-vatican-observatory-looks-to-the-heavens
57•pseudolus•13h ago•14 comments

Cells that breathe oxygen and sulfur at the same time

https://www.quantamagazine.org/the-cells-that-breathe-two-ways-20250723/
74•sohkamyung•3d ago•4 comments

How to make websites that will require lots of your time and energy

https://blog.jim-nielsen.com/2025/how-to-make-websites-that-require-lots-of-time-and-energy/
270•OuterVale•1d ago•224 comments

SRAM Has No Chill: Exploiting Power Domain Separation to Steal On-Chip Secrets

https://cacm.acm.org/research-highlights/sram-has-no-chill-exploiting-power-domain-separation-to-steal-on-chip-secrets/
65•zdw•3d ago•24 comments