Difference between revisions of "Thread:Talk:ScalarBot/Version History/Runnable interface/reply (2)"

From Robowiki
Jump to navigation Jump to search
m (Reply to Runnable interface)
 
m (type)
 
Line 1: Line 1:
 
More information:
 
More information:
  
1. Have had a look at robocode source — when you don't call execute yourself, robocode will call that for you every round, which is theoretically the same as <code>while(true){execute();}</code>.
+
1. Have had a look at robocode source — when you don't call execute yourself, robocode will call that for you every turn, which is theoretically the same as <code>while(true){execute();}</code>.
  
 
2. I call rescan instead of execute to fix some missed scan bugs.
 
2. I call rescan instead of execute to fix some missed scan bugs.

Latest revision as of 16:42, 29 December 2017

More information:

1. Have had a look at robocode source — when you don't call execute yourself, robocode will call that for you every turn, which is theoretically the same as while(true){execute();}.

2. I call rescan instead of execute to fix some missed scan bugs.