Sha256: 28773df3efe8a9f1ac84d74fcaad4e3cbecfd5585f8adef7eeef271535cd590b
Contents?: true
Size: 460 Bytes
Versions: 8
Compression:
Stored size: 460 Bytes
Contents
package robot import "fmt" // definitions used in step 1 var Step1Robot struct { X, Y int Dir } type Dir int var _ fmt.Stringer = Dir(1729) // additional definitions used in step 2 type Command byte // valid values are 'R', 'L', 'A' type RU int type Pos struct{ Easting, Northing RU } type Rect struct{ Min, Max Pos } type Step2Robot struct { Dir Pos } // additional definition used in step 3 type Step3Robot struct { Name string Step2Robot }
Version data entries
8 entries across 8 versions & 1 rubygems