Next units lines: Two integers unit_id, faction, being the unit's unique ID and faction (
Win. Don't die.
Shoot at your enemy with bullets and missiles, watch out for their weapons. Be careful - the forcefield, which was used to trap your enemy, seems to also be keeping you inside. Keep away from the edge - crash with the forcefield will destroy your ship!
The game is played on a map
You and your opponent each own one starship, which has
The ship has an
Now your weaponry includes also
The bullet can be shot every two turns. It detonates automatically in the first tick, when its distance
to the closest enemy unit, that was in its damage radius, starts to increase. Ending its lifetime
(after
Bullet's damage radius is
Missiles can be shot each turn, as long as you have one. They are detonated with a command or when
they lose all their health points (they start having
Their damage radius is
The ships start at symmetrical positions, close to the center of the board.
Both ships and missiles move with the given acceleration along each axis, with the resultant
acceleration (interpreted as a vector) being clipped to length
Hitting the edge of the board immediately sets the unit's (bullet's, missile's or ship's) health to
unit | number of | damage | damage radius | health | lifetime | max acceleration |
---|---|---|---|---|---|---|
ship | 1 | - | - | 10 | - | 10 |
bullet | ∞ | 10 | 120 | 10 | 7 | - |
missile | 8 | 15 | 200 | 7 | - | 30 |
Acknowledgment
This contribution was developed for the Programming Programming Games course, University of Wrocław, 2021.
Authored by Michał Opanowicz (@MichalOp), Katarzyna Miernikiewicz (@Manwi23), Agnieszka Pawicka (@Agn).
Supervised by Jakub Kowalski (@aCat).