• Welcome to SpeedSolving.com — the world’s largest puzzle community!

    You’re currently browsing as a guest, which means you have limited access to discussions, resources, member profiles, and community features.

    Join 50,000+ cubers and puzzle enthusiasts from around the world to ask questions, share solves, improve faster, and be part of the community.

    Registration is free, fast, and easy — create your account today.

    Already a member? Log in here to hide this message and start participating.

Presenting QBX

emg

Member
Joined
Aug 12, 2010
Messages
24
Location
United States
WCA
2004GATE02
Hello,

I'd like to present QBX, a JavaScript two phase solver. You can paint your cube and find a solution, solve random cubes, generate (I believe) WCA legal scrambles, step through move sequences, and benchmark your browser's JavaScript.

For now it works in Chrome, Firefox, and I've tested it in a webkit based browser as well. It technically works in IE8, but you have to sit there and tell IE not to kill the page because the script is taking too long, over and over and over.

I would recommend using Chrome, as it is approximately 30x faster than Firefox 3.5 and 15x faster than Firefox 3.6, try the benchmark.

Please play with it, try to break it, give feedback. Let me know what's wrong, what's not intuitive, what features you would like to see in the future.

Enjoy!
-emg
 
Luckily that was a fairly simple fix (deleted one character, changed one more...), although it doesn't support double layer or rotations yet
-emg
 
There was discussion on this awhile ago, whether it would work in javascript. You've apparently put quite a bit of effort into this :p

Good job though! Works well for me!
 
Performance?

I'd love to see performance numbers on the various boxes. Maybe just the last number reported.
 
:eek:

Tom told be about this, but until then, it was on my list of currently impossible things. I thought a practical solver would require either a bulky applet or a web query.
I'd really love to see some profiling, particularly the memory used. And of course, I'd love to see every web timer start using it.

Anyhow, awesome work. :tu

Just one thing:
generate (I believe) WCA legal scrambles
I tend to be very conservative about saying that. I don't really consider anything a WCA legal scramble myself unless it's produced by a program listed here.
 
:eek:

Just one thing:
generate (I believe) WCA legal scrambles
I tend to be very conservative about saying that. I don't really consider anything a WCA legal scramble myself unless it's produced by a program listed here.

Ahh, ok. Well to be clear, it uses the Mersenne Twister as its pseudorandom number generator to generate a cube state and then solves for it.

Out of curiosity, is it possible to have the program evaluated and approved as generating legal scrambles? That's meant to be one of the features.

-emg
 
Out of curiosity, is it possible to have the program evaluated and approved as generating legal scrambles? That's meant to be one of the features.

-emg
Yes. I once asked Ron, and scrambling programs can be approved at any time.
For evaluation, can you generate a bunch of random cases + solutions and compare them to CubeExplorer output to show they're equally random and short enough?

Incorporate it into this format and post it in the WCA forum, and it'll probably be approved.
 
Out of curiosity, is it possible to have the program evaluated and approved as generating legal scrambles? That's meant to be one of the features.

-emg
Yes. I once asked Ron, and scrambling programs can be approved at any time.
For evaluation, can you generate a bunch of random cases + solutions and compare them to CubeExplorer output to show they're equally random and short enough?

Incorporate it into this format and post it in the WCA forum, and it'll probably be approved.

By the way, what does "QBX" mean?
 
QBX was my name suggestion which Evan approved (his names may have been better). It's like a riff on Cube Explorer, but it's like its little sibling. QB (cubie) instead of cube, and X instead of explorer. I figured this was better than "JavaScript two-phase solver" which is pretty generic.

So if the name is a fail, that's entirely my doing and none of Evan's.
 
Back
Top