Rubik Cube - Three-Dimensional Puzzle

by Jonathan Hunt


This program creates a simulation of the very popular three-dimensional cube puzzle.

The program can be loaded by clicking on the icon in the RISC User master menu system. When run, it installs its icon on the icon bar and is ready for use. Clicking Menu on the icon pops up a menu with the usual Info and Quit options. Clicking either Select or Adjust on the icon displays the main window.

The main window contains a 3D representation of a puzzle cube. To the left and right of the cube are Move and Orientation icons respectively. Clicking Select or Adjust over a Move icon causes a corresponding rearrangement of the cube. The first two columns, and bottom two rows of moves are self-explanatory. Reading from top to bottom, the rightmost two columns of moves represent rotations of the front, middle and rear cube planes respectively.

Clicking Select or Adjust over the Orientation icons allows the cube to be viewed from any position. Clicking Menu anywhere in the main window displays a menu offering the following options:

  Scramble F1	- arranges the cube randomly.
  Start F2		- rearranges the cube to its start position.
  Save F3		- displays a save box, allowing the current
				cube arrangement to be saved.

The keyboard shortcuts, shown next to the options above, can be used instead of selecting the options from the menu, as long as the main window has the input focus. You can give the input focus to the main window at any time simply by clicking on the window with Select or Adjust.

Cube arrangements which have previously been saved can be loaded in any one of two ways:

1. by dragging a cube file from a filer window onto the main cube window, or the cube icon on the icon bar.

2. by double-clicking on a cube file in a filer window.


 Copyright RISC User 1995
