RubikSim - A 3D Rubik's Cube Simulation
Written by Ross Wolin / Mystic
Industries
Last updated 11/17/03
Summary
RubikSim
is a 3D Rubik's Cube Simulation, featuring mouse controlled
virtual
trackball cube rotation and manipulation. RubikSim is written in C++
using wxWindows/MFC and OpenGL.
The initial release uses the MFC application framework, limiting it to
Win32
platforms. Future releases will use the wxWindows application
framework instead, to
allow compilation on Win32, FreeBSD, and Linux
RubikSim was written
mostly as demo/sample code to illustrate how to use OpenGL and 2D
to 3D mouse mapping and collision detection, although some
people may also enjoy playing the simulation as a puzzle
game. Some features have been added to enhance game play
(sounds, etc) but for the most part RubikSim is fairly spartan.
Major Features Include:
- Cube rotation and manipulation in 3D, using mouse. (Rotation is
done using virtual trackball model.)
- Cube manipulation animations and sounds
- Cube zoom in/out
- Save/restore cube orientation to file
- Undo stack of all user moves
- Cube randomize/scramble function
- Various user configurable preferences
- HTML helpfiles
RubikSim is licensed under the GPL.
Development Status
The current released version of RubikSim is MFC/Win32 only.
In the future, a wxWindows version will be released that can be run on
Win32/FreeBSD/Linux.
Build Instructions
The current version of RubikSim uses the MFC application framework and
is only buildable for
Win32 platforms.
The source is buildable under
Microsoft Visual Studio
6.0, using the IDE.
Future versions will used wxWindows (rather than MFC) and will be
buildable on Win32, FreeBSD and Linux.
Installation Instructions
The current version of RubikSim uses the MFC application framework and
is only installable on Win32 platforms.
To install the Win32 EXE:
- unzip the contents of rubiksim-src-nnn.zip to a subdirectory
(i.e. C:\program files\rubiksim)
- run rubiksim.exe