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