Difference between revisions of "Template For Topic Pages"

From Robowiki
Jump to navigation Jump to search
(A cleaner topic page template)
m (Using <syntaxhighlight>.)
 
Line 4: Line 4:
 
In the <code>onWhatever()</code> method:
 
In the <code>onWhatever()</code> method:
  
<pre>
+
<syntaxhighlight>
 
int i = 1;
 
int i = 1;
 
setTurnRightRadians(i);
 
setTurnRightRadians(i);
 
execute();
 
execute();
</pre>
+
</syntaxhighlight>
  
 
=== How it works ===
 
=== How it works ===

Latest revision as of 10:31, 1 July 2010

What exactly is this topic all about, anyway?

Example code

In the onWhatever() method:

int i = 1;
setTurnRightRadians(i);
execute();

How it works

Black magic, running in O(N^3 log N).

Bots using this technique

  • FancyBot1
  • ShmancyBot2

See also

  • BorkBork
  • Botany
  • BottlePopping

References

  • Links to tutorials
  • Links to other sample code for this topic