View unanswered posts | View active topics It is currently Tue Sep 22, 2020 4:59 pm

Reply to topic  [ 2 posts ] 
Leftover Time 
Author Message

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?
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?

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:06 pm
Site Admin
Site Admin
User avatar

Joined: Tue Oct 09, 2012 10:34 am
Posts: 192
Post 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).


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:17 pm
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.