1 | % Generator: GNU source-highlight, by Lorenzo Bettini, http://www.gnu.org/software/src-highlite
|
---|
2 | \noindent
|
---|
3 | \mbox{}\texttt{001:} ;\ RoboCom\ program \\
|
---|
4 | \mbox{}\texttt{002:} \\
|
---|
5 | \mbox{}\texttt{003:} Published\ \ Name\ \ \ \ \ \ \ \ fighter-defensive-1\ \ \ \ \ \ ;\ Name\ of\ this\ program \\
|
---|
6 | \mbox{}\texttt{004:} Published\ \ Author\ \ \ \ \ \ Rick\ van\ der\ Zwet\ \ \ \ \ \ \ \ ;\ Name\ of\ author \\
|
---|
7 | \mbox{}\texttt{005:} Published\ \ EMail\ \ \ \ \ \ \ hvdzwet@liacs.nl\ \ \ \ \ \ \ \ \ ;\ Author's\ e-mail\ address \\
|
---|
8 | \mbox{}\texttt{006:} Published\ \ Country\ \ \ \ \ The\ Netherlands\ \ \ \ \ \ \ \ \ \ ;\ Author's\ home\ country \\
|
---|
9 | \mbox{}\texttt{007:} Published\ \ Comment\ \ \ \ \ Part\ AI\ Course\ @\ LIACS\ \ \ ;\ A\ comment\ on\ this\ prog \\
|
---|
10 | \mbox{}\texttt{008:} Secret\ \ \ \ \ Password\ \ \ \ YOUR$\_$PASSWORD$\_$HERE\ \ \ \ \ \ \ ;\ Password\ for\ competitons \\
|
---|
11 | \mbox{}\texttt{009:} \\
|
---|
12 | \mbox{}\texttt{010:} Published\ \ OpenSource\ \ yes\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ;\ This\ prog\ is\ open\ source \\
|
---|
13 | \mbox{}\texttt{011:} Published\ \ Language\ \ \ \ RC300\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ;\ Written\ in\ RC300\ language \\
|
---|
14 | \mbox{}\texttt{012:} Published\ \ OptionSet\ \ \ Classic\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ;\ Recommended\ OptionSet \\
|
---|
15 | \mbox{}\texttt{013:} \\
|
---|
16 | \mbox{}\texttt{014:} ;\ General\ overview: \\
|
---|
17 | \mbox{}\texttt{015:} ;\ *\ Create\ really\ simple\ shield\ around\ mother\ bot\ with\ very\ simple\ virus, \\
|
---|
18 | \mbox{}\texttt{016:} ;\ \ \ called\ protectors \\
|
---|
19 | \mbox{}\texttt{017:} ;\ *\ After\ some\ cycles\ call\ autodestroy\ on\ all\ affected\ bots,\ called \\
|
---|
20 | \mbox{}\texttt{018:} ;\ \ \ kamikazes \\
|
---|
21 | \mbox{}\texttt{019:} ;\ *\ Start\ creating\ 'destroyers'\ with\ basicly\ kill\ all\ robots \\
|
---|
22 | \mbox{}\texttt{020:} ; \\
|
---|
23 | \mbox{}\texttt{021:} \\
|
---|
24 | \mbox{}\texttt{022:} ;\ Jump\ bank\ to\ safer\ grounds\ \\
|
---|
25 | \mbox{}\texttt{023:} Bank\ SafeJump \\
|
---|
26 | \mbox{}\texttt{024:} \ \ \ \ \ \ \ \ Bjump\ 25,1 \\
|
---|
27 | \mbox{}\texttt{025:} \\
|
---|
28 | \mbox{}\texttt{026:} ;\ Bank\ 2-20,\ empty\ buffer\ banks \\
|
---|
29 | \mbox{}\texttt{027:} Bank\ Bank2 \\
|
---|
30 | \mbox{}\texttt{028:} Bank\ Bank3 \\
|
---|
31 | \mbox{}\texttt{029:} Bank\ Bank4 \\
|
---|
32 | \mbox{}\texttt{030:} Bank\ Bank5 \\
|
---|
33 | \mbox{}\texttt{031:} Bank\ Bank6 \\
|
---|
34 | \mbox{}\texttt{032:} Bank\ Bank7 \\
|
---|
35 | \mbox{}\texttt{033:} Bank\ Bank8 \\
|
---|
36 | \mbox{}\texttt{034:} Bank\ Bank9 \\
|
---|
37 | \mbox{}\texttt{035:} Bank\ Bank10 \\
|
---|
38 | \mbox{}\texttt{036:} Bank\ Bank11 \\
|
---|
39 | \mbox{}\texttt{037:} Bank\ Bank12 \\
|
---|
40 | \mbox{}\texttt{038:} Bank\ Bank13 \\
|
---|
41 | \mbox{}\texttt{039:} Bank\ Bank14 \\
|
---|
42 | \mbox{}\texttt{040:} Bank\ Bank15 \\
|
---|
43 | \mbox{}\texttt{041:} Bank\ Bank16 \\
|
---|
44 | \mbox{}\texttt{042:} Bank\ Bank17 \\
|
---|
45 | \mbox{}\texttt{043:} Bank\ Bank18 \\
|
---|
46 | \mbox{}\texttt{044:} Bank\ Bank19 \\
|
---|
47 | \mbox{}\texttt{045:} Bank\ Bank20 \\
|
---|
48 | \mbox{}\texttt{046:} Bank\ Bank21 \\
|
---|
49 | \mbox{}\texttt{047:} Bank\ Bank22 \\
|
---|
50 | \mbox{}\texttt{048:} Bank\ Bank23 \\
|
---|
51 | \mbox{}\texttt{049:} Bank\ Bank24 \\
|
---|
52 | \mbox{}\texttt{050:} \\
|
---|
53 | \mbox{}\texttt{051:} ;Bank\ 25 \\
|
---|
54 | \mbox{}\texttt{052:} Bank\ MainParent \\
|
---|
55 | \mbox{}\texttt{053:} \ \ \ \ \ \ \ \ ;Protectors\ build \\
|
---|
56 | \mbox{}\texttt{054:} \ \ \ \ \ \ \ \ @MainParentProtectorStart \\
|
---|
57 | \mbox{}\texttt{055:} \ \ \ \ \ \ \ \ Scan\ \#10 \\
|
---|
58 | \mbox{}\texttt{056:} \ \ \ \ \ \ \ \ Comp\ \#10,0 \\
|
---|
59 | \mbox{}\texttt{057:} \ \ \ \ \ \ \ \ Jump\ @MainParentExists \\
|
---|
60 | \mbox{}\texttt{058:} \ \ \ \ \ \ \ \ Create\ 1,1,0 \\
|
---|
61 | \mbox{}\texttt{059:} \ \ \ \ \ \ \ \ @MainParentExists \\
|
---|
62 | \mbox{}\texttt{060:} \ \ \ \ \ \ \ \ Trans\ 26,1 \\
|
---|
63 | \mbox{}\texttt{061:} \ \ \ \ \ \ \ \ Set\ \textit{\%active,1} \\
|
---|
64 | \mbox{}\texttt{062:} \ \ \ \ \ \ \ \ Turn\ 0 \\
|
---|
65 | \mbox{}\texttt{063:} \ \ \ \ \ \ \ \ Add\ \#1,1 \\
|
---|
66 | \mbox{}\texttt{064:} \ \ \ \ \ \ \ \ Comp\ \#1,50 \\
|
---|
67 | \mbox{}\texttt{065:} \ \ \ \ \ \ \ \ Jump\ @MainParentProtectorStart \\
|
---|
68 | \mbox{}\texttt{066:} \ \ \ \ \ \ \ \ Set\ \#1,1 \\
|
---|
69 | \mbox{}\texttt{067:} \ \ \ \ \ \ \ \ Add\ \#2,1 \\
|
---|
70 | \mbox{}\texttt{068:} \ \ \ \ \ \ \ \ Comp\ \#2,4 \\
|
---|
71 | \mbox{}\texttt{069:} \ \ \ \ \ \ \ \ Jump\ @MainParentProtectorStart \\
|
---|
72 | \mbox{}\texttt{070:} \\
|
---|
73 | \mbox{}\texttt{071:} \ \ \ \ \ \ \ \ ;Kamikazes\ build\ \ \ \ \ \ \ \ \\
|
---|
74 | \mbox{}\texttt{072:} \ \ \ \ \ \ \ \ Set\ \#1,1 \\
|
---|
75 | \mbox{}\texttt{073:} \ \ \ \ \ \ \ \ @MainParentKamikazeStart \\
|
---|
76 | \mbox{}\texttt{074:} \ \ \ \ \ \ \ \ Trans\ 27,1 \\
|
---|
77 | \mbox{}\texttt{075:} \ \ \ \ \ \ \ \ Turn\ 0 \\
|
---|
78 | \mbox{}\texttt{076:} \ \ \ \ \ \ \ \ \\
|
---|
79 | \mbox{}\texttt{077:} \ \ \ \ \ \ \ \ Add\ \#1,1 \\
|
---|
80 | \mbox{}\texttt{078:} \ \ \ \ \ \ \ \ Comp\ \#1,30 \\
|
---|
81 | \mbox{}\texttt{079:} \ \ \ \ \ \ \ \ Jump\ @MainParentKamikazeStart \\
|
---|
82 | \mbox{}\texttt{080:} \\
|
---|
83 | \mbox{}\texttt{081:} \ \ \ \ \ \ \ \ ;Destroyer\ build \\
|
---|
84 | \mbox{}\texttt{082:} \ \ \ \ \ \ \ \ @MainParentDestroyerStart \\
|
---|
85 | \mbox{}\texttt{083:} \ \ \ \ \ \ \ \ Turn\ 0 \\
|
---|
86 | \mbox{}\texttt{084:} \ \ \ \ \ \ \ \ Scan\ \#1 \\
|
---|
87 | \mbox{}\texttt{085:} \ \ \ \ \ \ \ \ Comp\ \#1,0 \\
|
---|
88 | \mbox{}\texttt{086:} \ \ \ \ \ \ \ \ Jump\ @MainParentDestroyerStart \\
|
---|
89 | \mbox{}\texttt{087:} \ \ \ \ \ \ \ \ Create\ 2,6,0 \\
|
---|
90 | \mbox{}\texttt{088:} \ \ \ \ \ \ \ \ Trans\ 28,5 \\
|
---|
91 | \mbox{}\texttt{089:} \ \ \ \ \ \ \ \ Trans\ 29,4 \\
|
---|
92 | \mbox{}\texttt{090:} \ \ \ \ \ \ \ \ Trans\ 28,1 \\
|
---|
93 | \mbox{}\texttt{091:} \ \ \ \ \ \ \ \ Set\ \textit{\%active,1} \\
|
---|
94 | \mbox{}\texttt{092:} \ \ \ \ \ \ \ \ Jump\ @MainParentDestroyerStart \\
|
---|
95 | \mbox{}\texttt{093:} \ \ \ \ \ \ \ \ \\
|
---|
96 | \mbox{}\texttt{094:} ;Bank\ 26 \\
|
---|
97 | \mbox{}\texttt{095:} Bank\ Protectors \\
|
---|
98 | \mbox{}\texttt{096:} \ \ \ \ \ \ \ \ Trans\ 1,1 \\
|
---|
99 | \mbox{}\texttt{097:} \ \ \ \ \ \ \ \ Trans\ 1,2 \\
|
---|
100 | \mbox{}\texttt{098:} \ \ \ \ \ \ \ \ Trans\ 1,4 \\
|
---|
101 | \mbox{}\texttt{099:} \ \ \ \ \ \ \ \ Turn\ 1 \\
|
---|
102 | \mbox{}\texttt{100:} \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \\
|
---|
103 | \mbox{}\texttt{101:} ;Bank27 \\
|
---|
104 | \mbox{}\texttt{102:} Bank\ Kamikazes \\
|
---|
105 | \mbox{}\texttt{103:} \ \ \ \ \ \ \ \ Trans\ 1,1 \\
|
---|
106 | \mbox{}\texttt{104:} \ \ \ \ \ \ \ \ Add\ \#1,1 \\
|
---|
107 | \mbox{}\texttt{105:} \ \ \ \ \ \ \ \ Turn\ 0 \\
|
---|
108 | \mbox{}\texttt{106:} \\
|
---|
109 | \mbox{}\texttt{107:} ;Bank28 \\
|
---|
110 | \mbox{}\texttt{108:} ;SafeJump\ Destroyers \\
|
---|
111 | \mbox{}\texttt{109:} Bank\ DestroyerJump \\
|
---|
112 | \mbox{}\texttt{110:} Bjump\ 4,1 \\
|
---|
113 | \mbox{}\texttt{111:} \\
|
---|
114 | \mbox{}\texttt{112:} ;Bank29 \\
|
---|
115 | \mbox{}\texttt{113:} Bank\ DestroyerMain \\
|
---|
116 | \mbox{}\texttt{114:} \ \ \ \ \ \ \ \ @DestroyerStart \\
|
---|
117 | \mbox{}\texttt{115:} \ \ \ \ \ \ \ \ Turn\ 0 \\
|
---|
118 | \mbox{}\texttt{116:} \ \ \ \ \ \ \ \ Scan\ \#1 \\
|
---|
119 | \mbox{}\texttt{117:} \ \ \ \ \ \ \ \ Comp\ \#1,1 \\
|
---|
120 | \mbox{}\texttt{118:} \ \ \ \ \ \ \ \ Jump\ @DestroyerFriendly \\
|
---|
121 | \mbox{}\texttt{119:} \ \ \ \ \ \ \ \ Set\ \#2,\textit{\%banks} \\
|
---|
122 | \mbox{}\texttt{120:} \ \ \ \ \ \ \ \ @DestroyerBankwhipe \\
|
---|
123 | \mbox{}\texttt{121:} \ \ \ \ \ \ \ \ Trans\ 7,\#2 \\
|
---|
124 | \mbox{}\texttt{122:} \ \ \ \ \ \ \ \ Sub\ \#2,1 \\
|
---|
125 | \mbox{}\texttt{123:} \ \ \ \ \ \ \ \ Comp\ \#2,0 \\
|
---|
126 | \mbox{}\texttt{124:} \ \ \ \ \ \ \ \ Jump\ @DestroyerBankWhipe \\
|
---|
127 | \mbox{}\texttt{125:} \ \ \ \ \ \ \ \ Set\ \textit{\%active,\ 1} \\
|
---|
128 | \mbox{}\texttt{126:} \ \ \ \ \ \ \ \ Jump\ @DestroyerStart \\
|
---|
129 | \mbox{}\texttt{127:} \ \ \ \ \ \ \ \ @DestroyerFriendly \\
|
---|
130 | \mbox{}\texttt{128:} \ \ \ \ \ \ \ \ Comp\ \#1,0 \\
|
---|
131 | \mbox{}\texttt{129:} \ \ \ \ \ \ \ \ Jump\ @DestroyerStart \\
|
---|
132 | \mbox{}\texttt{130:} \ \ \ \ \ \ \ \ Create\ 2,6,0 \\
|
---|
133 | \mbox{}\texttt{131:} \ \ \ \ \ \ \ \ Trans\ 4,4 \\
|
---|
134 | \mbox{}\texttt{132:} \ \ \ \ \ \ \ \ Trans\ 5,5 \\
|
---|
135 | \mbox{}\texttt{133:} \ \ \ \ \ \ \ \ Trans\ 5,1 \\
|
---|
136 | \mbox{}\texttt{134:} \ \ \ \ \ \ \ \ Set\ \textit{\%active,1} \\
|
---|
137 | \mbox{}\texttt{135:} \ \ \ \ \ \ \ \ Jump\ @DestroyerStart \\
|
---|
138 | \mbox{}\texttt{136:} \\
|
---|
139 | \mbox{}\texttt{137:} \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \\
|
---|
140 | \mbox{}\texttt{138:} ;Bank\ 30-50,\ empty\ buffer\ banks\ \\
|
---|
141 | \mbox{}\texttt{139:} Bank\ Bank30 \\
|
---|
142 | \mbox{}\texttt{140:} Bank\ Bank31 \\
|
---|
143 | \mbox{}\texttt{141:} Bank\ Bank32 \\
|
---|
144 | \mbox{}\texttt{142:} Bank\ Bank33 \\
|
---|
145 | \mbox{}\texttt{143:} Bank\ Bank34 \\
|
---|
146 | \mbox{}\texttt{144:} Bank\ Bank35 \\
|
---|
147 | \mbox{}\texttt{145:} Bank\ Bank36 \\
|
---|
148 | \mbox{}\texttt{146:} Bank\ Bank37 \\
|
---|
149 | \mbox{}\texttt{147:} Bank\ Bank38 \\
|
---|
150 | \mbox{}\texttt{148:} Bank\ Bank39 \\
|
---|
151 | \mbox{}\texttt{149:} Bank\ Bank40 \\
|
---|
152 | \mbox{}\texttt{150:} Bank\ Bank41 \\
|
---|
153 | \mbox{}\texttt{151:} Bank\ Bank42 \\
|
---|
154 | \mbox{}\texttt{152:} Bank\ Bank43 \\
|
---|
155 | \mbox{}\texttt{153:} Bank\ Bank44 \\
|
---|
156 | \mbox{}\texttt{154:} Bank\ Bank45 \\
|
---|
157 | \mbox{}\texttt{155:} Bank\ Bank46 \\
|
---|
158 | \mbox{}\texttt{156:} Bank\ Bank47 \\
|
---|
159 | \mbox{}\texttt{157:} Bank\ Bank48 \\
|
---|
160 | \mbox{}\texttt{158:} Bank\ Bank49 \\
|
---|
161 | \mbox{}\texttt{159:} Bank\ Bank50 \\
|
---|
162 | \mbox{}\texttt{160:} \\
|
---|
163 | \mbox{}\texttt{161:} \ \ \ \ \ \ \ \ \\
|
---|
164 |
|
---|