View unanswered posts | View active topics It is currently Fri Aug 29, 2014 12:40 pm






Reply to topic  [ 2 posts ] 
Leftover Time 
Author Message
Rookie

Joined: Thu May 02, 2013 10:52 am
Posts: 22
Post Leftover Time
What am I supposed to do with any extra time to get it to count towards the shortest time?
Quote:
Tie Breaker 1 – the player that scores the highest amount of points in the shortest amount
of time wins; the Internal Timer tracks times in milliseconds.
Am I supposed to have a while(true){} at the end of my code until the clock runs outs? Or what am I supposed to do?

_________________
What is easy you have done, what is hard you can do, what is impossible will take a little longer


Thu Jun 06, 2013 6:09 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Tue Oct 09, 2012 10:34 am
Posts: 192
Post Re: Leftover Time
http://www.robotc.net/forums/viewtopic.php?t=5934

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.

_________________
Ryan Cahoon
CMU Robotics Academy
RVW Software Developer

Robot Potato Head; Virtual NXT


Thu Jun 06, 2013 6:27 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.