I add documentation, which will make people trying to debug the code later on not want to kill you all.
The basic environment is a gray plane with some Buildings, large blue boxes, scattered about, with randomly-placed gray walls procedurally added as well. 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.
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. They kill other Cubes upon contact and spawn with one Coin. Consider changing the color to avoid racist implications.
Green Cubes, known as Civilians, spawn more often and a large number spawn with the Red Cube. They wander about, fleeing from black blocks within 80 blocks half of the time. 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. 50% of them spawn with Swords.
SWAT Cubes, which are gray and white, spawn in threes when a Blue Cube is killed. Each takes three Sword strikes to kill rather than one.
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.
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.
I give up around Post #20 and will continue compiling documentation. Do you have any idea how hard this is?