From BerryBots Wiki
Jump to: navigation, search

The bot that a player controls via a Lua program in BerryBots. A ship has thrusters, lasers, and torpedos, each of which can be fired in any direction on any tick. Firing a thruster applies a force vector to the ship's current speed and heading. Lasers are fast, weak projectiles that move in a straight line until they hit a ship or a wall. Torpedos are slow, strong, grenade type weapons that move a specific distance, including through walls, before exploding and doing damage to everything in the blast radius.

A ship program can control any number of ships, depending on the team size specified by the stage. For example, RandomBot can be initialized as a team of any size, with all bots using the same behavior.

See also

Personal tools