Java 3D: Rubik’s Cube Game

Since I like 3D graphics so much, I've always wanted to program a 3D game from scratch. In the beginning of 2007 (can't remember exactly, silly brain!) I decided to try out Java 3D and create a Rubik's Cube solving game. I'm not very good at solving the cube in real life, I've only solved it a few times altogether but that doesn't mean I couldn't create a simple game about it.

So, I researched the ways one can do 3D in Java and found this library called LWJGL (Lightweight Java Game Library) which uses OpenGL to render 3D graphics. LWJGL is not a game engine, it just enables the developers to get access to 3D graphics, input and sound to write their own game code.

It can't say much about the experience writing the game with LWJGL since it was quite a long time ago and I don't remember the particulars any more (silly brain is silly again). I do remember that getting the whole thing up and running was not as hard as I imagined.

Download the source code and binaries (currently for Windows only) here: RubiksCube.zip (3 MB)

2 Responses to Java 3D: Rubik’s Cube Game

  1. k says:

    
    public class awesomething {
        public static void main(String[] args) {
            System.out.println("awesomething");
        }
    }
    

  2. sreeraj says:

    I’m getting an error while trying to run this code..
    Can’t load IA 32-bit .dll on a AMD 64-bit platform..Do you have any idea how to resolve this??

Comments are closed.