Despite a vague desire to retaliate for you guys not documenting your code earlier, I have finished my efforts. I also cleaned up and expanded the code a bit.
The basic environment is a gray plane with some Buildings, large blue boxes, and gray Walls. A Town generator places these Buildings and Walls in a town-map-like manner, along with some Ladders leading up to the tops of buildings. Nearby is a Dungeon.
It has basic Newtonian physics, lacking such things as friction and architectural knowledge. A lighting system and a day/night cycle have both been implemented.
Blacks make up everything above the plane--the walls and Buildings.
Yellow Blocks, which are destroyed explosively when struck with Swords, have been coded but do not spawn.
Ladders, which are special Blocks allowing vertical movement, have been programmed but do not spawn.
The Town is a spawling area composed mainly of Buildings, with Walls in various areas and Ladders leading to the top of some buildings and many walls. It is where most Cubes spawn.
The Dungeon is a 15x15 Building five units tall far from town with four Ladders leading to the roof. 10-20 Black Cubes spawn at the start, with another 5-10 every minute.
Mobile elements of uniform size known as Cubes exist. They are cubical in shape and variable in color.
Red Cubes--or cube, since only one is spawned--are controlled by the player. It spawns with a Pickle.
Black Cubes, known as Enemies, spawn every so often at the Dungeon. They kill other Cubes upon contact and spawn with one Coin. Consider changing the color to avoid racist implications.
Green Cubes, known as Civilians wander about, fleeing from black blocks within 80 units half of the time. About 250-500 Green Cubes spawn in the Town at startup, with another 20-40 spawning each minute. They spawn with two Coins and have a number of facial expressions programmed.
Blue Cubes, known as Cops, spawn when any Cube kills a non-Black Cube within 25 units of a Building. 50% of them spawn with Swords.
SWAT Cubes, which are gray and white, spawn in threes when a Blue Cube is killed within 10 units of a Building. Each takes three Sword strikes to kill rather than one.
White Cubes spawn randomly in town and give you Pet Cubettes if you have killed at least one Black Cube. The color varies by the number killed: red for one, orange for two, yellow for four, and so on until you get a purple Pet Cubette for killing 64+ Black Cubes.
Cubettes are smaller cubes, half a unit to a side. They follow a Cube and may have effects when they collide with other cubes.
There are Items, which are characteristics of the Cubes. Weapons are a type of Item that strikes adjacent Cubes. Items can be given to other Cubes. When a Cube is killed, its Items go to the killer.
Pickles are represented as small, green cylinders. They are Weapons; when they strike a Cube, the Cube is accelerated away from the Cube wielding a Pickle.
Swords are represented as flattish, gray rectangular prisms. They destroy any non-SWAT Cube when they strike it.
Coins are not represented on the models. They can be exchanged for swords at a 1:1 ratio.
Many meaningless Tweaks have been made by people too Lazy to contribute to the actual content of the forum game.
What did I miss?
The part where I'm not adding all of that stuff. If we're adding it, I humbly request that someone else do a bit of documentation.
On that note, as of this documentation, buildings are generic, solid, blue blocks. If you want to enter the buildings, you'll need to specify some more stuff about how that works. Or add the Documentation yourself.
Also, I haven't added the class or magic system to the documentation. Someone who cares, please do so.
P.S. The Hall of Shame, for those who said they did something without actually giving all the requisite detail:
Coded in more PC ability's