Live data from Hacker News

Show HN: Scroll through all 43252003274489856000 Rubik's Cube states

everycube.alen.is

41–50 of 135 posts

Re: Show HN: Scroll through all 43252003274489856000 Rubik's Cube states

#41
I wrote a 3d rubiks cube slot machine for my old online casino. It scrambled the cube randomly 4 times and gave the player 60 seconds to solve it by twisting up to 3 times. Lots of weird quaternion math to handle the spinning and shift key twisting at the same time. All with simple geometry in Away3D / AS3.

The real hard part of designing that game was creating the payout structure. The game paid an equal amount for each "line" of 3 colors in a row on any face after the player made their third move. There was a progressive take and jackpot for a perfect solution. And I specifically wanted to target a zero house edge for the game, to reward the best problem solvers. So the question was, given 4 random twists off a perfect cube, what are the individual chances of getting 64, 63, 62...1 lines of sequential color given the best 3 spins from the initial random state, and then hiw to allocate the payout structure accordingly.

Probably a billion monte carlo runs and I had a pay table. It was lots of fun. I wish more gambling games rewarded skill that way.

Re: Show HN: Scroll through all 43252003274489856000 Rubik's Cube states

#43

Earlier quoted context omitted.

I am very curious about your other favorites it does but have.

My kids had a science battle in the basement last summer, which resulted in both their Rubik’s Cubes colliding mid air. They both exploded (the cubes, not the kids) and were reassembled at a “fix this before mom finds us” rush speed. I think my favourite is this pattern my 9 year old makes on “Greeny” (that’s his pet name for the cube that now has 11 green squares) where all four top corners are red/white/blue.

When I was a kid (many, many moons ago) I found a solved Rubik's Cube in a house where we were staying. I played with it and soon enough couldn't put it back in its solved state.

So I took it apart and rebuilt it 'properly', which didn't take long and wasn't too hard. I wonder how many people did the same.

Re: Show HN: Scroll through all 43252003274489856000 Rubik's Cube states

#49

I wrote a 3d rubiks cube slot machine for my old online casino. It scrambled the cube randomly 4 times and gave the player 60 seconds to solve it by twisting up to 3 times. Lots of weird quaternion math to handle the spinning and shift key twisting at the same time. All with simple geometry in Away3D / AS3. The real hard part of designing that game was creating the payout structure. The game paid an equal amount for…

Casino games are rarely zero house edge. Is there a way you signaled this feature to problem solvers? Did the game prove to be successful?

Re: Show HN: Scroll through all 43252003274489856000 Rubik's Cube states

#50
post #23

Earlier quoted context omitted.

With all due respect to Steve, under 1 minute isn't that impressive. You can get there just by doing the beginner's method (a handful of different move-sequences) rapidly. The people who really study Rubik's Cube algorithms in depth can do it in a few seconds.

I remember a TV program showing someone breaking the one minute record for the first time. I could already do it at that point, I'm sure many others could as well.

[dead]
Post reply on HN