The Wayback Machine - https://web.archive.org/web/20010609134018/http://cube.misto.cz:80/_MAIL_/javacube/cube.html

The Gloomy Cube

By Jelinek Josef, March 16, 2001.
Last modified March 18, 2001, 0:15 am. (my 23rd birthday :-)).

               

This is yet another Java implementation of the classical Rubik's Cube move player. It is inspired by Karl Hornell's and by Lars Petrus's Cube applets. I have tried implementing many things that are missing in the named applets. The control of the applet is the very similar as for the named ones. The applet has much better thread support, so you can rotate cube while playing the sequence, you can press any button in any situation and it does make sense (try all combinations!).

I have added some new parameters: "bgcolor", "butbgcolor", "facelets", "move". The examples show how to use that parameters. The applet also can have different sizes. Look at the source of this page. The format of move is in standart Singmaster's notation (not like in Lars's applet). The facelets' positions are incompatible with Lars's applet (what a pity, sorry...). But I would like if you can replace "worse" applets with this one.

The source code "Cube.java" can be found here and the program "Cube.class" here.

The facelets are input as characters where each 9-tuple represents 9 facelets of the particular face. The order of the faces is: UP, DOWN, FRONT, BACK, LEFT, RIGHT. The facelets on each face is placed as show the following examples. Order is White, Yellow, Orange in one row and the examples are sorted by row number (look at the source of this page).

               

If you use this applet, inform me and give me a credit! You can also sponsore me :-).


Other information