ROBOTC.net forums
http://www.robotc.net/forums/

Leftover Time
http://www.robotc.net/forums/viewtopic.php?f=68&t=5934
Page 1 of 1

Author:  tr24em [ Thu Jun 06, 2013 6:06 pm ]
Post subject:  Leftover Time

What am I supposed to do with any extra time to get it to count towards the shortest time?
Quote:
Tie Breakers
1. The highest score in the shortest amount of time. (i.e. The game is 120 seconds long. If
the player has completed all of the scoring at 115 seconds they can press the Game
Stop Button to stop the game. If two Players have the same score, the score completed
in the shortest amount of time is the winner.)
I couldn't find the "Game Stop Button", so am I supposed to have a while(true){} at the end of my code until the clock runs outs?

Author:  rcahoon [ Thu Jun 06, 2013 6:17 pm ]
Post subject:  Re: Leftover Time

Hi tr24em,
We probably need a better way to handle this (like actually having a Game Stop Button), but yes a while(true){} will do the trick. If you get bored, you can also waste time more quickly by switching start points using the Switch Robot window; this won't impact your ranking at all (I believe the rules say something about using number of resets as a tie breaker, but since we record the time to 0.0001 of a second, we won't ever get there as a criteria).

Best,
--Ryan

P.S. For anyone who's confused, we record the time at which you achieved your highest score and submit that at the end of the time period. This prevents you from having twitch-click a stop button in order to get the best time possible.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/