You are on page 1of 3

Dwse to stoixeio gia tin thesi (0,0):

a
Dwse to stoixeio gia tin thesi (0,1):
b
Dwse to stoixeio gia tin thesi (0,2):
c
Dwse to stoixeio gia tin thesi (1,0):
d
Dwse to stoixeio gia tin thesi (1,1):
e
Dwse to stoixeio gia tin thesi (1,2):
f
Dwse to stoixeio gia tin thesi (2,0):
g
Dwse to stoixeio gia tin thesi (2,1):
o
Dwse to stoixeio gia tin thesi (2,2):
h
Enter your command in the following format:
move>direction
Notice: move> is the user prompt
direction is one of: l(left), r(right), u(up), d(down), e(exit)
+-----+-----+-----+
| a | b | c |
+-----+-----+-----+
| d | e | f |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
move> l
+-----+-----+-----+
| a | b | c |
+-----+-----+-----+
| d | f | e |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
+-----+-----+-----+
| a | b | c |
+-----+-----+-----+
| d | f | e |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
move> u
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | f | c |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | f | c |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
move> l
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | c | f |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | c | f |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
move> l
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | f | c |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | f | c |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
move> l
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | c | f |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | c | f |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
move> l
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | f | c |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | f | c |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
move> l
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | c | f |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | c | f |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
move> l
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | f | c |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | f | c |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
move> d
This is not a valid move
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | f | c |
+-----+-----+-----+
| g | o | h |
+-----+-----+-----+
move> r
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | f | g |
+-----+-----+-----+
| c | o | h |
+-----+-----+-----+
+-----+-----+-----+
| a | b | e |
+-----+-----+-----+
| d | f | g |
+-----+-----+-----+
| c | o | h |
+-----+-----+-----+
move>

You might also like