-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathoutput.txt
58 lines (44 loc) · 1.11 KB
/
output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
main
[1] [0] [0]
[2] [0] [0]
[3] [0] [0]
Tower of Hanoi
Objective: Your goal is to insert the numbers into the third pole such that from top to bottom, they are in ascending order
Rule: You cannot put an greater number above a smaller number at any point in the game
Good luck!
Choose pole to pop from: 0
Choose pole to push to: 2
[0] [0] [0]
[2] [0] [0]
[3] [0] [1]
Choose pole to pop from: 0
Choose pole to push to: 1
[0] [0] [0]
[0] [0] [0]
[3] [2] [1]
Choose pole to pop from: 2
Choose pole to push to: 1
[0] [0] [0]
[0] [1] [0]
[3] [2] [0]
Choose pole to pop from: 0
Choose pole to push to: 2
[0] [0] [0]
[0] [1] [0]
[0] [2] [3]
Choose pole to pop from: 1
Choose pole to push to: 0
[0] [0] [0]
[0] [0] [0]
[1] [2] [3]
Choose pole to pop from: 1
Choose pole to push to: 2
[0] [0] [0]
[0] [0] [2]
[1] [0] [3]
Choose pole to pop from: 0
Choose pole to push to: 2
[0] [0] [1]
[0] [0] [2]
[0] [0] [3]
Congratulations, you win!