Show HN: Cubeyay – Smooth Rubik cube solvers, and variants

  • Posted 31 minutes ago by s__j
  • 1 points
https://cubeyay.com/
I built Cubeyay to play and solve cubing puzzles, from the 3x3 cube to the Megaminx. There are 22 in all. I started building it for my kid, but after getting good feedback, I thought of putting it out for the community. My primary objective was to make it smooth on mobile/iPad browsers, with a touch experience that comes close to the real one (though it can't beat a real cube).

Some puzzles are simple and some are complex, and all 22 can be played. For majority of 22, it helps you solve your real ones too. For 2x2 to 5x5 cubes, just show the faces to your device camera, in any order, and Cubeyay will guide you with 3D movements to solve it. For the others, you enter the colors by hand. Camera processing happens completely on your device.

For the 3x3 and a few others, there are famous patterns like Checkerboard and Cube-in-a-cube, with 3D guided instructions for making them. My kid loves Checkerboard.

As this is designed for kids, I kept away from asking for any account or registration. I do measure usage: Google Analytics (which sets cookies), my own cookieless counter for milestones like finishing a lesson, and Cloudflare Web Analytics.

I am a developer, and I couldn't help adding keyboard support, which lets you navigate the site and, more importantly, solve the cube with the keyboard alone. You can get really fast this way. Then I added "hyper" mode for people who are really good at this: give all the moves upfront and watch the cube play them. It's fun for noobs as well.

It's built in TypeScript and uses three.js for smooth 3D. Solvers run in workers. It's built by agents, but I did spent my time to look at different aspects of it.

Please try it out, and of course give feedback, especially on how the touch controls feel on your phone.

0 comments