JuniorRobot Out Property Robocode Robot API for .NET
The Out stream your robot should use to print.

You can view the print-outs by clicking the button for your robot in the right side of the battle window.

Examples

// Print Out a line each time my robot hits another robot 
public void OnHitRobot(HitRobotEvent e)
{
    Out.WriteLine("I hit a robot!  My energy: " + Energy + " his energy: " + e.Energy);
}

Namespace: Robocode
Assembly: robocode (in robocode.dll) Version: 1.9.2.0
Syntax

public TextWriter Out { get; }

Property Value

Type: OnlineTextWriter
See Also