I posted a while ago a link to a youtube video about a 4 spatial dimensions snake.
The game is simple, is like the old nokia snake, but the snake moves along 4 perpendicular axis: x, y, z and w.
I did a new video where I explain how to play the game:Snake 4D
In 2d the snake is inside a square, in 3d inside a cube, in 4d is in an hypercube.
The game is perspectively projected, which means that the hypercube can be viewed in it's classical "cube inside a cube" conformation, but can also freely rotated.
There are 2 version of the game, and for both it's available the source code.
The first version is in python, and can be downloaded as script or as application (for mac, win, unix) and can be found here:pyhon version
The second version can be found in the description of the above video, is written in C++ and uses qt and OpenGL for graphic.
The game works smoothly in this version, however I had difficulties to compile it, so there is only the source code available.