Documentation ¶
Index ¶
- Variables
- func Advance()
- func Left()
- func Right()
- func Room(extent Rect, robot Step2Robot, act chan Action, report chan Step2Robot)
- func Room3(extent Rect, robots []Step3Robot, act chan Action3, rep chan []Step3Robot, ...)
- func StartRobot(cmd chan Command, act chan Action)
- func StartRobot3(name, script string, act chan Action3, log chan string)
- type Action
- type Action3
- type Command
- type Dir
- type Pos
- type RU
- type Rect
- type Step2Robot
- type Step3Robot
Constants ¶
This section is empty.
Variables ¶
View Source
var Step1Robot struct { X, Y int Dir }
Functions ¶
func Room ¶
func Room(extent Rect, robot Step2Robot, act chan Action, report chan Step2Robot)
func Room3 ¶
func Room3(extent Rect, robots []Step3Robot, act chan Action3, rep chan []Step3Robot, log chan string)
func StartRobot ¶
func StartRobot3 ¶
Types ¶
type Step2Robot ¶
type Step3Robot ¶
type Step3Robot struct { Name string Step2Robot }
Click to show internal directories.
Click to hide internal directories.