battlecode / battlecode-server-2017

Official Battlecode game engine.
http://www.battlecode.org/
GNU Affero General Public License v3.0
23 stars 10 forks source link

Turn order #415

Closed jbloxham closed 7 years ago

jbloxham commented 7 years ago

Changes execution order.

Previous: robots > trees > bullets, in order of spawn

Robots and bullets now update during the same "phase", with bullets updating immediately before the robot that fired them. Robots still execute in spawn order, and bullets fired from the same robot also execute in spawn order.

This may need more optimization before being merged, as it potentially doubles the load on the server for running games.

Also, this probably shouldn't be merged before the sprint tournament, as it constitutes a relatively significant change to the layout of the game.

jbloxham commented 7 years ago

This has been optimized now, and shouldn't significantly increase computation load. This is ready for review.

nmccoy commented 7 years ago

13 seconds too late haha. I had assumed you were already ready for review.

jbloxham commented 7 years ago

¯_(ツ)_/¯