Anonymous user
(→Tcl: Added implementation + demonstration of how to use the interface) |
(→{{header|Tcl}}: Fix trivial logic bug) |
||
Line 148:
}
}
if {rand() < 0.5} {▼
my TurnLeft▼
} else {▼
my TurnRight▼
}
} trap bumpedWall {} {}
}
}
set ::wonGame ok
|