Loading video...

Video Failed to Load

Go Home

Someone on Reddit shared an app they vibe coded with Claude Code. It scans your Rubik's Cube and solves it in 20 moves or less. 🤯 There is a math fact called God's Number. No matter how badly a Rubik's Cube is scrambled, it can always be solved in...

42,280 views • 3 months ago •via X (Twitter)

16 Comments

Vaibhav Sisinty's profile picture
Vaibhav Sisinty3 months ago

Source:

Catatan Remote by Ade's profile picture
Catatan Remote by Ade3 months ago

vibe coding has reached the point where the output can look at a physical object, understand its state, and tell humans what to do next. meanwhile humans still need three attempts to fold a fitted bedsheet.

Hussain Hashim | Building SundayBack's profile picture
Hussain Hashim | Building SundayBack3 months ago

@VaibhavSisinty that’s wild! never got the hang of solving those things myself. might need this app just to impress people at parties 😂

BIswatma's profile picture
BIswatma3 months ago

Such apps are existing since decades

aman agarwal's profile picture
aman agarwal3 months ago

This is crazyy

anonimo's profile picture
anonimo3 months ago

Nice app! But God's Number 20 is in the half‑turn metric. If the cube uses quarter‑turns, the limit is 26. Does your scan account for that? Any proof that it always stays ≤20 moves in your metric?

0xSlyth's profile picture
0xSlyth3 months ago

This is next level

Abhishek__'s profile picture
Abhishek__3 months ago

this is great work of vibe coding

ConvertDigitally | Marketing & AI Growth 📈's profile picture
ConvertDigitally | Marketing & AI Growth 📈3 months ago

@claudeai India rupee pricing doesn't make a big difference without PPP pricing ... 2399 bucks is damn costly....

𝐒𝐚𝐧𝐚𝐭𝐡 Kumar's profile picture
𝐒𝐚𝐧𝐚𝐭𝐡 Kumar3 months ago

Great share

Shauvik Kumar's profile picture
Shauvik Kumar3 months ago

That's a pretty satisfying demo

Shreyas | AI Engineer & Creative Director's profile picture
Shreyas | AI Engineer & Creative Director3 months ago

Woww

priya upadhyay's profile picture
priya upadhyay3 months ago

building a full rubiks cube solver using claude code is mind blowing vibe coding is completely shifting what is possible for fast prototyping

Himanshu.cpp's profile picture
Himanshu.cpp3 months ago

man thats crazy

🇷ohit Sakaria🐛🐮's profile picture
🇷ohit Sakaria🐛🐮3 months ago

This is very disappointing. Wish kids don't learn this.

Niketan sarkar's profile picture
Niketan sarkar3 months ago

Insane

Related Videos

In 1974, Ernő Rubik built a wooden puzzle in his Budapest apartment to help his architecture students understand 3D geometry. He scrambled it. Then spent an entire month trying to solve it. He had just invented the best-selling toy in human history - and could not figure out how to undo what he built. Fifty years later, Max Park solved the same puzzle in 3.13 seconds. The fastest human solve of 43,252,003,274,489,856,000 possible configurations ever recorded. A world record set in 2023 that most people cannot even comprehend watching in real time. Working Note No. 20 explains the exact mathematics that separates those two outcomes. The number that makes every human brain shut down [Section 7] - 43,252,003,274,489,856,000. That is the total number of possible Rubik's Cube configurations written out in full. The document writes it as 4.325 × 10^19. If you shuffled one new configuration every second since the Big Bang 13.8 billion years ago - you would have seen 0.00000003% of them. What the formula that counts every state looks like [Equation 6] - N = 8! × 3^7 × 12! × 2^11 divided by 12. Eight corner pieces, twelve edge pieces, six fixed centres. Every rotation is a permutation. Every permutation is a mathematical object. The entire cube is a group - called the Rubik's Group - with exactly 4.325 × 10^19 elements. Rubik did not know this when he built it. He was an architect, not a mathematician. How long random moves would take to solve it [Section 9] - At 1 move per second: 1,370,000,000,000 years. At 1,000,000 moves per second: still 1,370,000 years. The universe is 13,800,000,000 years old. Random solving is not a strategy. It is a mathematical impossibility disguised as a game. Max Park does not solve it randomly. He uses CFOP - a sequence of algorithms that exploits the group structure of the cube directly. The theorem that took 35 years and Google's supercomputers to prove [Section 10] - God's Number: every single scrambled Rubik's Cube on earth can be solved in 20 moves or fewer. Not 21. Not 25. Twenty. Maximum. This was proven in 2010 by a team of mathematicians who borrowed computing power from Google. The proof required 35 CPU-years of calculation to check all 4.325 × 10^19 positions. It took humans 35 years after the cube's invention to confirm what the mathematics already guaranteed. What a single face rotation actually does to the cube [Section 11] - U = (e1 e2 e3 e4). One clockwise turn of the top face cycles four edge pieces through four positions. Repeating this exact move four times returns every piece to its original location. U^4 = I. The identity. The math closes perfectly. This is why speedcubers like Max Park can solve 43 quintillion possible states in 3.13 seconds. They are not memorizing solutions. They are executing permutation sequences that group theory already proved must work. The quote Ernő Rubik gave about the moment he first solved his own cube - "It was wonderful to see how, after all the thought I had put into building it, it still had secrets to reveal to me." He spent a month discovering what Working Note No. 20 proves in 12 pages of group theory and combinatorics. Working Note No. 20, September 2026 Discrete Mathematics, Permutations and Algorithmic Transformations Series save this

Lupen

122,002 views • 14 days ago