Show HN: Scroll through all 43252003274489856000 Rubik's Cube states
everycube.alen.is
everycube.alen.is
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.
There are laws about making casino games impossible to win, so a game that is transparently in violation wouldn't last long.
The game just has multiple aspects to it.
You do understand this is exactly how property taxes work, right?
* Public image
* Borrowing power
* Atttacting investors
But a pawper when it comes to:
* Paying tax
The other 50%... those people are working!!!! Can't avoid paying people unless we go back to slavery.
Regardless it is one of the rich tricks to borrow against unrealized gains. And other shenanigans.
> Initially pitched in 2017 as a new class of investment asset, NFT trading increased from US$82 million in 2020 to US$17 billion in 2021. Its market was occasionally compared to an economic bubble or a Ponzi scheme. In 2022, the NFT market collapsed; a May 2022 estimate was that the number of sales was down over 90% compared to 2021. By September 2023 one report claimed that over 95% of NFT collections had zero monetary value.
https://en.wikipedia.org/wiki/Non-fungible_token
/s
We have people wasting money on jpegs and people wanting to own things outside of game inventory screens even today. Something akin to NFTs could still become a part of the economy.
useful
- Having a beneficial use; serviceable: "a useful kitchen gadget."
- Being of practical use: "a useful job; useful members of society."
- Full of use, advantage, or profit; producing, or having power to produce, good; serviceable for any end or object; helpful toward advancing any purpose; beneficial; profitable; advantageous: "vessels and instruments useful in a family; books useful for improvement; useful knowledge; useful arts"
I'd bet that most stories of NFTs translating to material wealth come from minters or the inner circle of early adopters, because they made something useless and valueless, and somehow convinced enough people that it was worth buying it for hard-earned cash. Many lost so a few could make bank.
They convinced fools to enter a rigged gamble.
Many people lost some money. Maybe they gained from the experience. Many people made money. Maybe they lost some on other things. Many people got their knickers in a twist over things with such perceived (by themselves) low value selling for high value. Maybe they forgot that fiat money is a construction as well. Conversely, maybe they gained something intangible from the whole experience.
The bubble never inflated, so the nominal value crashed back down to the real value almost immediately.
Fairly sure there was some money laundering happening too.
Horrible comparison, because people buying hats or reskins, let alone unique game items, are actually enjoying their purchases before the game is sunsetted and it all dissolves into the digital IP void. NFTs offer no value besides moral ownership; if Capitalism and Greed could make jokes, NFTs would be among their best.
Edit: also 2D https://www.github.com/AdamWhiteHat/RubiksCubeControlWpf
I don't know how this was generated (BFS and flattening?) it seems adjacent indices aren't just one move apart ... but they could be!
There is a Hamiltonian circuit for Rubik's cube: https://bruce.cubing.net/ham333/rubikhamiltonexplanation.htm...
Following the circuit would be like Gray codes instead of binary digits. You only flip one bit at a time when going to the next number.
The difference between two successive steps by pressing a key seems to be 86504006548979
https://en.wikipedia.org/wiki/A_Short_Stay_in_Hell
The numbers produced by permutations are astounding! Especially compared to the (much smaller) numbers in our actual physical universe.
Though it must be said that once one starts looking at permutations of things, the number of atoms in the universe seems quite small indeed. 10^80? What's that, like 7 or 8?
Edit: 58! < 10⁸⁰ < 59!
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.
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.
One of us wrote a program in BASIC on a Tandy 1000 that the rest of us estimated would take more than a google years to finish, but he wasn't be dissuaded and let it run the whole weekend.
I made an analysis that was mostly correct but was off by a factor of four because I mistook a radius for a diameter.
Implementation details can be found here: https://eieio.games/blog/writing-down-every-uuid/
He immediately scrambled it, then spent the next month figuring out if it could be solved.
Luckily no one told him there were 43 quintillion valid combinations.
After he sold the puzzle, he traveled around to various conferences, to prove it could be solved.
Demo: https://jsfiddle.net/t80eLfc2/2/
Interpolating in RGB just uses linear interpolation on each channel, so it ends up passing through grey in a lot of cases, and the colors look very desatured.
Interpolating in OKLCH preserves chroma and instead passes through different hues.
And maybe sort them by "distance to solved".
Quick feedback: it’d be great if the page updated when the URL changes, so you can explore different positions without reloading.
Right now, if I change the URL/hash of the cube position (eg: incrementing by 1 https://everycube.alen.is/?view=3d#5319001606686939024 ), the app doesn’t update and I have to open the new URL in a separate tab to see the new position. [Chrome 150 on Mac OS X 10.15.7]
43,252,003,274,489,856,000 is a fun trivia number, but it tells you nothing about how hard it is to solve the cube.
Has anyone ever sorted a randomly shuffled deck of cards in under 3 seconds?
So, at some point you're going to be multiplying by 10, 20, 30 etc. Plus you'll have 2x5x.., 4x50x... (if you rearrange the terms). It therefore makes sense that you'll end up with a bunch of zeros on the end.
Wondering how fast the machine or computer will do that?
https://everycube.alen.is/?view=3d&alg=R%20U%20R%27%20U%27
Should be:
On ios Firefox and Safari unfortunately, would love to see this site
iPhone; Safari; Lockdown mode.
would be cool permutations of moves instead...the visuals would be especially interesting to have as a raw Rubik's simulator
https://en.wikipedia.org/wiki/Universal_Paperclips
https://www.decisionproblem.com/paperclips/index2.html
Universal Paperclips
• a game by Frank Lantz
• combat programming by Bennett Foddy
'Riversong' by Tonto's Expanding Headband used by kind permission of Malcolm Cecil
> © 2017 Everybody House Games I
Paperclips: 30,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000We have massive housing affordability and employment shortage problems, meanwhile here’s a tech elite flouting 4x10^9 states which he doesn’t pay taxes on and most of them will not even get used. Is that really fair?