Forgot your password?
typodupeerror

Comment 4D puzzles (Score 1) 303

I don't know how this game works, but the concept of 4D puzzles is nothing new. Years ago I wrote a simple 4 dimensional maze. I started with a simple 2D maze (my son at that time liked to play a simple maze game, but did not like several things about the way the game worked, so I wrote him another one one, learning Python along the way). Then I extended it to 3D by adding several floors. After that, it was a simple exercise to extend it to 4D. Let's say you start with a simple 3x3 maze, that is 9 rooms arranged in a square grid on a plane, with doors connecting some of the adjacent rooms. You use 'h' and 'l' to go left and right, and 'k' and 'j' to go forward and backward. You take 3 such "floor-plans", put them above each other, and connect some of the adjacent rooms through the floors and ceilings. You add keys, say 'u' and 'n', to move upstairs and downstairs. You can also add "rotate the world" feature, which will turn the cube on a side, so that the up/down direction will bacome, say, left and right, etc.

Now you take 3 such cubes, and add "doors" from some rooms in one cube to corresponding rooms in an "adjacent" cube, you add two more keys, say 'o' and ',', to move from cube to cube, and generalize the "rotations" to work in 4D, and you have a simple 4D maze. Then you can put a wumpus in the maze, couple of bottomless pits, and have fun. You can do other puzzles, for example, you can create a 4D minesweeper this way.

I guess you could interpret the fourth dimension as time, you would have a 3x3x3 maze where each night, some doors would disappear, and new doors would sprout between rooms, and you can move into the future or past, in the range of three given days.

Slashdot Top Deals

A LISP programmer knows the value of everything, but the cost of nothing. -- Alan Perlis

Working...