Tanks

Tanks are entities in Diep.io that can shoot bullets (or Drones and Traps) that move on their own. They are controlled either by a player or AI.

Design
All tanks consist of a body and one or more barrels.

Shape

 * Almost all tanks have a circular body (with exception of the Necromancer and the Mothership).
 * Barrels can appear in many different shapes and numbers.
 * Normal Bullets, used by most of the tanks, are circular shaped. However, Drones can be square or triangular shaped, and Traps have a distinct shape mentioned on its page. Necromancers have square shaped drones.

Color

 * The color of a tank's body is based on it's team's color ( blue, red, pink or green ).
 * Your tank is colored blue in FFA, while everyone else's is red.
 * Neutral tanks, like Arena Closers or unclaimed Dominators are always yellow.
 * Some boss tanks have special colors, such as pink or yellow.
 * Fallen boss tanks are grey.
 * Barrels are always colored grey.
 * Your bullets are blue in FFA, while everyone else's is red. However, in FFA, a Necromancer's drones are colored peach/orange.
 * In team Game Modes your bullet color is determined by your team. Bullets of neutral tanks are yellow (Same for Drones).

Movement
All controllable tanks can move their body with the arrow or WASD keys. They can move their barrel(s), which always points at the cursor, with the mouse.

Shooting Bullets
To shoot bullets, a player can press SPACE, or left click with their mouse. However, Smasher and its upgrades lack the ability to shoot bullets.