Cube

Cube is a first-person shooter video game that shares the name of its free and open source engine. Engine and game were developed by Wouter van Oortmerssen.

It runs on a variety of operating systems, including Microsoft Windows, Linux, FreeBSD, Mac OS X, iPhone, Nintendo Wii and even Pocket PC devices with 3D acceleration such as Dell Axim x50v. It uses OpenGL and SDL. Cube features both singleplayer and multiplayer gameplay. The game contains a built-in level editor.

First release with singleplayer mode was in January 2002. The latest update of Cube was released on August 29, 2005.

Game Engine
The Cube engine was designed as an outdoor engine, i.e. it's designed for maps that are outdoors rather than Doom and Quake, which are optimized for indoors. It utilizes a pseudo-3D world model similar to the Doom engine, based on a 2D height map. This imposes some limitations (e.g. no rooms above rooms), but does permit slopes and 3D props which in turn can be used to make up for most limitations, for example to create bridges with a passage below.

The engine is based on zero-precompilation philosophy—all map data is interpreted dynamically, with no need to recalculate such as shadowmaps or BSP data. This makes realtime in-game map editing feasible. Cube supports multi-user, realtime map editing.

The engine is compact and relies on simplicity and brute force instead of fine-tuned complexity.

Gameplay style
As of the August 29, 2005, release, there are 37 SP (SinglePlayer) maps and 65 DM (DeathMatch) maps, for a total of 102 maps all together.

Multiplayer uses a networked game code (called ENet ) and the use of a thick client/thin server model.

Single player gameplay
The single player game play includes two modes. A plain single-player mode in which items and monsters do not respawn and have a fixed position; and a deathmatch-style mode (where there is usually a fixed number of monsters, 10 per skill level) and items respawn.

Multiplayer gameplay
Multiplayer gameplay includes twelve modes:


 * "Free For All": Often used for prewar and setting up teams.
 * "Coop Edit": Players can edit a map with others in real time.
 * "Free For All": non-teamplay, meant for ffa and duel games.
 * "Teamplay": Like Free For All, only allied with those whose team variable is the same as yours.
 * "Instagib": All players spawn with full rifle ammo and 1 health. No items are available (non-teamplay and teamplay).
 * "Efficiency": all players have 2 ammo packs each with 256 health (non-teamplay and teamplay).
 * "Insta Arena": when the player is fragged (killed), he/she stays dead until there's only one player remaining, and then a new round begins; each player only has the rifle and fist (non-teamplay and teamplay).
 * "Tactics Arena": Like Insta Arena, but each player randomly gets two out of the four possible weapons (with fist), and two ammo packs each (non-teamplay and teamplay).

Critical reception
Cube was reviewed positively by LinuxDevCenter in 2002 and awarded with the "Happypenguin Award" for "Best Free 3D Action Game" by The Linux Game Tome in 2003. MacUpdate rated the game's latest release 4.5 stars out of 5.

Further development

 * Intel ported the game to OpenGL ES to demonstrate a new mobile 3D chipset at the Game Developers Conference in 2005.
 * Cube was used in a computer science course at Brown University 2006.
 * A new game and engine based on Cube, called Cube 2 has been developed.
 * A free mod of the game Cube, called AssaultCube was released in November 2006.
 * A Cube port, intended as a technology demo was submitted to the iPhone in 2008, and was released to the iPhone App Store on November 18. The iPhone game "Archetype", developed by Munkyfun, is based on the Cube engine.