Basics

From Gladiabots Wiki
Revision as of 03:05, 27 August 2017 by Mcompany (Talk | contribs) (Time and Space)

Jump to: navigation, search

Maps

Each map contains one or more bot starting positions for each team. Optionally maps can contain team bases and resources. Normally the same amount of bot starting positions and team bases are used for each team and the map objects have usually reflectional or rotational symmetry. Two starting positions or team bases that are symmetric belong to different teams. There exists an instantiation order for the bot starting positions rarely used in the game[1]. Only a subset of all maps is used for ranked multiplayer.

Game modes

Elimination

The objective is to destroy more bots from the other team within the time limit. Bots can be destroyed by shooting them until they lost their shield and health or pushing them to the map borders. A game is evaluated as a draw if no team could destroy more bots after the time limit. The shield or health state of bots is not relevant to this objective.

Best Score

The objective is to gather more resources than the other team within the time limit. Resources can be gathered by picking them up and moving them to an allied base. A game is evaluated as a draw if no team could gather more resources after the time limit. Neither the shield or health state of bots nor the count of remaining bots is relevant to this objective.

Time and Space

Each map has a size of 50x50 units. Each bot can shoot another bot up to the distance of 15 units. This distance is divided in short range (up to 3 units), medium range (3 to 8 units) and long range (up to 8 to 15 units).

Each second of the game time is divided in 4 ticks each with a duration of 250 milliseconds. At the beginning of a tick each bot uses its program to think what the next action should be. Then it executes this action for the duration of the tick. As the current time limit is 5 minutes in normal speed, the whole game lasts 1200 ticks.

Rough thoughts

Bot Actions

Idle

If a bot idles one tick it doesn't move.

Moving or Fleeing, Idle Catch Resource, Secure Resource, Drop, Attacking Picking Delivering Tag or team tag

collisions while moving / Collision size. 2 bots want to pick up the same resource


if I pick up a resource or deliver a resource

If I could move 100 units and the resource / base is only 50 units away. What happens if I pick up or deliver a resource. 0.125 ms moving + 0.125 idling? What does the enemy see? Move or idle? If I drop a resource, is the whole tick wasted?


Moving Resources collect / drop - does it spend a whole tick? What is the distance a resource can be taken already?

Move speed Attack damage algorithm Cooldown for recharging shield time to recharge shield.