Last change
on this file since 2 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
2.9 KB
|
Line | |
---|
1 | ; RoboCom program
|
---|
2 |
|
---|
3 | Published Name fighter-defensive-1 ; Name of this program
|
---|
4 | Published Author Rick van der Zwet ; Name of author
|
---|
5 | Published EMail hvdzwet@liacs.nl ; Author's e-mail address
|
---|
6 | Published Country The Netherlands ; Author's home country
|
---|
7 | Published Comment Part AI Course @ LIACS ; A comment on this prog
|
---|
8 | Secret Password YOUR_PASSWORD_HERE ; Password for competitons
|
---|
9 |
|
---|
10 | Published OpenSource yes ; This prog is open source
|
---|
11 | Published Language RC300 ; Written in RC300 language
|
---|
12 | Published OptionSet Classic ; Recommended OptionSet
|
---|
13 |
|
---|
14 | ; General overview:
|
---|
15 | ; * Create really simple shield around mother bot with very simple virus,
|
---|
16 | ; called protectors
|
---|
17 | ; * After some cycles call autodestroy on all affected bots, called
|
---|
18 | ; kamikazes
|
---|
19 | ; * Start creating 'destroyers' with basicly kill all robots
|
---|
20 | ;
|
---|
21 |
|
---|
22 | ; Jump bank to safer grounds
|
---|
23 | Bank SafeJump
|
---|
24 | Bjump 25,1
|
---|
25 |
|
---|
26 | ; Bank 2-20, empty buffer banks
|
---|
27 | Bank Bank2
|
---|
28 | Bank Bank3
|
---|
29 | Bank Bank4
|
---|
30 | Bank Bank5
|
---|
31 | Bank Bank6
|
---|
32 | Bank Bank7
|
---|
33 | Bank Bank8
|
---|
34 | Bank Bank9
|
---|
35 | Bank Bank10
|
---|
36 | Bank Bank11
|
---|
37 | Bank Bank12
|
---|
38 | Bank Bank13
|
---|
39 | Bank Bank14
|
---|
40 | Bank Bank15
|
---|
41 | Bank Bank16
|
---|
42 | Bank Bank17
|
---|
43 | Bank Bank18
|
---|
44 | Bank Bank19
|
---|
45 | Bank Bank20
|
---|
46 | Bank Bank21
|
---|
47 | Bank Bank22
|
---|
48 | Bank Bank23
|
---|
49 | Bank Bank24
|
---|
50 |
|
---|
51 | ;Bank 25
|
---|
52 | Bank MainParent
|
---|
53 | ;Protectors build
|
---|
54 | @MainParentProtectorStart
|
---|
55 | Scan #10
|
---|
56 | Comp #10,0
|
---|
57 | Jump @MainParentExists
|
---|
58 | Create 1,1,0
|
---|
59 | @MainParentExists
|
---|
60 | Trans 26,1
|
---|
61 | Set %active,1
|
---|
62 | Turn 0
|
---|
63 | Add #1,1
|
---|
64 | Comp #1,50
|
---|
65 | Jump @MainParentProtectorStart
|
---|
66 | Set #1,1
|
---|
67 | Add #2,1
|
---|
68 | Comp #2,4
|
---|
69 | Jump @MainParentProtectorStart
|
---|
70 |
|
---|
71 | ;Kamikazes build
|
---|
72 | Set #1,1
|
---|
73 | @MainParentKamikazeStart
|
---|
74 | Trans 27,1
|
---|
75 | Turn 0
|
---|
76 |
|
---|
77 | Add #1,1
|
---|
78 | Comp #1,30
|
---|
79 | Jump @MainParentKamikazeStart
|
---|
80 |
|
---|
81 | ;Destroyer build
|
---|
82 | @MainParentDestroyerStart
|
---|
83 | Turn 0
|
---|
84 | Scan #1
|
---|
85 | Comp #1,0
|
---|
86 | Jump @MainParentDestroyerStart
|
---|
87 | Create 2,6,0
|
---|
88 | Trans 28,5
|
---|
89 | Trans 29,4
|
---|
90 | Trans 28,1
|
---|
91 | Set %active,1
|
---|
92 | Jump @MainParentDestroyerStart
|
---|
93 |
|
---|
94 | ;Bank 26
|
---|
95 | Bank Protectors
|
---|
96 | Trans 1,1
|
---|
97 | Trans 1,2
|
---|
98 | Trans 1,4
|
---|
99 | Turn 1
|
---|
100 |
|
---|
101 | ;Bank27
|
---|
102 | Bank Kamikazes
|
---|
103 | Trans 1,1
|
---|
104 | Add #1,1
|
---|
105 | Turn 0
|
---|
106 |
|
---|
107 | ;Bank28
|
---|
108 | ;SafeJump Destroyers
|
---|
109 | Bank DestroyerJump
|
---|
110 | Bjump 4,1
|
---|
111 |
|
---|
112 | ;Bank29
|
---|
113 | Bank DestroyerMain
|
---|
114 | @DestroyerStart
|
---|
115 | Turn 0
|
---|
116 | Scan #1
|
---|
117 | Comp #1,1
|
---|
118 | Jump @DestroyerFriendly
|
---|
119 | Set #2,%banks
|
---|
120 | @DestroyerBankwhipe
|
---|
121 | Trans 7,#2
|
---|
122 | Sub #2,1
|
---|
123 | Comp #2,0
|
---|
124 | Jump @DestroyerBankWhipe
|
---|
125 | Set %active, 1
|
---|
126 | Jump @DestroyerStart
|
---|
127 | @DestroyerFriendly
|
---|
128 | Comp #1,0
|
---|
129 | Jump @DestroyerStart
|
---|
130 | Create 2,6,0
|
---|
131 | Trans 4,4
|
---|
132 | Trans 5,5
|
---|
133 | Trans 5,1
|
---|
134 | Set %active,1
|
---|
135 | Jump @DestroyerStart
|
---|
136 |
|
---|
137 |
|
---|
138 | ;Bank 30-50, empty buffer banks
|
---|
139 | Bank Bank30
|
---|
140 | Bank Bank31
|
---|
141 | Bank Bank32
|
---|
142 | Bank Bank33
|
---|
143 | Bank Bank34
|
---|
144 | Bank Bank35
|
---|
145 | Bank Bank36
|
---|
146 | Bank Bank37
|
---|
147 | Bank Bank38
|
---|
148 | Bank Bank39
|
---|
149 | Bank Bank40
|
---|
150 | Bank Bank41
|
---|
151 | Bank Bank42
|
---|
152 | Bank Bank43
|
---|
153 | Bank Bank44
|
---|
154 | Bank Bank45
|
---|
155 | Bank Bank46
|
---|
156 | Bank Bank47
|
---|
157 | Bank Bank48
|
---|
158 | Bank Bank49
|
---|
159 | Bank Bank50
|
---|
160 |
|
---|
161 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.