Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Canvas ¶
type Canvas struct {
// contains filtered or unexported fields
}
Canvas is an infinitely paintable 2D surface.
type Direction ¶
type Direction int
Direction is one of the cardinal directions that the robot can move.
type Robot ¶
type Robot struct {
// contains filtered or unexported fields
}
Robot is an emergency hull painting robot.
func (*Robot) CurrentColor ¶
CurrentColor returns the color of the canvas at the robot's current location.
Click to show internal directories.
Click to hide internal directories.