treasure/turtle_type.nim

14 lines
203 B
Nim
Raw Normal View History

2022-12-27 23:56:54 +01:00
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]