PeterJCLaw / srcomp-cli

Command line tools for interacting with the state of the Student Robotics Competition
https://github.com/PeterJCLaw/srcomp/wiki
0 stars 2 forks source link

Support adding delays for the current match #1

Closed PeterJCLaw closed 5 years ago

PeterJCLaw commented 5 years ago

At the moment the way that we interpret delays is that they take effect if they happen before the start of a match slot. This keeps the logic internally fairly straight-forwards, however does mean that any issues which happen during the staging phase are more complicated to fix via delays.

One solution would be to have a way to spell "before the current match" as the time at which to add a delay.

A mitigation might be to configure the match slots so that games start at the same time as the slot starts, rather than at some point in the middle.