14 lines
203 B
Nim
14 lines
203 B
Nim
|
type
|
||
|
Turtle* = ref object
|
||
|
memory*: seq[uint32]
|
||
|
x*: int
|
||
|
y*: int
|
||
|
score*: int
|
||
|
path*: Path
|
||
|
steps*: int
|
||
|
found*: seq[bool]
|
||
|
|
||
|
Path* = object
|
||
|
xs*: seq[int]
|
||
|
ys*: seq[int]
|