Commit 6df21b4f authored by Stefanie Hasler's avatar Stefanie Hasler

tcr

parent 103e54ab
......@@ -48,6 +48,14 @@ class MarsRover {
case 'N':
this.dir = 'W'
break
case 'E':
this.dir = 'N'
break
case 'S':
this.dir = 'E'
break
case 'W':
this.dir = 'S'
}
return this
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment