-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinput.txt
68 lines (56 loc) · 1.18 KB
/
input.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
59
60
61
62
63
64
65
66
#CS184 HW1 Test Cases v1
#Commands are:
#alias, set key aliases: alias left '100'
#input, input keys: input left a r down
#save, save current frame: save
#inputsave, input keys and save: inputsave left a r down
#delimited by newline
#aliases must be >1 character, no spaces
#NOTE: the program is -not- reset after each save/inputsave. i.e.
#inputsave left
#inputsave left
#means second save has hit left twice
#"special" keys are single quoted, like '100'.
#literals can be used, by inputting the literal
#numbers of normal keys can be used by double quoting: "27"
alias left '100'
alias up '101'
alias right '102'
alias down '103'
alias esc "27"
save
input + + + + + + + +
input + + + + + + + +
input left
input + up
input + + right
inputsave + + + down
input + + + + + + + +
input + + + + + + + +
input 0
input + up
input + + right
input + + + down
input - left
inputsave - up
inputsave - down
input + + + + + + + +
input t
inputsave + up
input + + right
inputsave + + + down
input - up
inputsave - - left
inputsave - down
input r
input + + + + + + + +
input - left
inputsave - down
inputsave g
input g
input s
inputsave + up
input + + right
inputsave + + + down
input - up
inputsave - - right