| MechMania | Documentation |
|---|---|
OverviewBlue Blood and Mutiny is a strategy game of war and money. Each game will last 20 minutes. The game is composed of:Companies: Every team is a company and starts out with 4000 gold. Each player starts 20,000 au (astronomical units) away from the nearest players, arranged on the circumference of a circle. Asteroids are scattered randomly around the origin. A company has a certain worth/value based upon its stock, ships, and amount of gold. Ships: A ship is composed of 6 elements: hull health, radar range, max speed, power core, power regeneration, and weapons. One major thing to note: there is no upper limit on the quantity of any of these elements. The only limit is cost. A ship has no base cost, only the cost of its attributes. These costs are as follows:
Note that distances are in au. Radar ranges are important, because you do NOT have a general overview of the arena. The only knowledge you have of other players comes from within your ships' radar ranges. Ships also have weapons. These are as follows:
Asteroids: These are randomly assigned an amount of gold between 500 and 2500. There are 5000 asteroids randomly scattered around the origin (within a radius of 5000 au). You will receive 10 gold per miner per ship on an asteroid. Stock: Companies can buy and sell stock to and from the bank. A company's value is the sum of its gold, ships, and value of stock. However, when calculating the value of stock, only gold and ship value is counted (to prevent needlessly complicated circular dependencies in stock value). As soon as 51% of a company's stock is sold to a single other company, all of that company's gold, ships, and stock is transferred to the majority shareholder. Anyone who owned stock in the acquired company is paid the value of their stock prior to the acquisition. Auctions: A company can choose to auction a ship. In this case, a starting bid is specified and the auction starts. An auction is finished when the high bid is not contested within 3 rounds. All auctions are global and can be seen all the time. Tributes: A company can give a ship or an amount of gold to another company at any time. This is called a tribute. Attacking: Attacking is straightforward. You specify a ship and a weapon with which to attack. That weapon will extract the specified damage from the victim. You can accomplish more damage by attacking more than once per turn. API SpecThis is a general overview of the client API. Detailed code specifications will be available at 8am tomorrow.Two global objects are used: GameState and GameTurn. GameState represents everything you know at that time. GameTurn is something you manipulate and is evaluated by the server at each round. GameState: This object provides the following data:
GameTurn: This object provides the following functions:
Good luck! See you all tomorrow. |
