Difference between revisions of "New Sirrob01"
From Australis Ultima 30k
m (→Initial Array setup) |
m (→Initial Array setup) |
||
Line 2: | Line 2: | ||
===Initial Array setup=== | ===Initial Array setup=== | ||
− | {{#arraydefine:all|apple@red@n,green@apple@n,apple@red@n,apple@purple@n,purple@apple@n,apple@red@y,red@apple@y,apple@red@n, | + | {{#arraydefine:all|apple@red@n,green@apple@n,apple@red@n,apple@purple@n,purple@apple@n,apple@red@y,red@apple@y,apple@red@n,blue@apple@n,apple@red@y,red@apple@y,apple@red@n}} |
− | {{#arraydefine:suball|apple@red@n,green@apple@n,apple@red@n,apple@purple@n,purple@apple@n,apple@red@y,red@apple@y,apple@red@n, | + | {{#arraydefine:suball|apple@red@n,green@apple@n,apple@red@n,apple@purple@n,purple@apple@n,apple@red@y,red@apple@y,apple@red@n,blue@apple@n,apple@red@y,red@apple@y,apple@red@n}} |
{{#arrayprint:all}} | {{#arrayprint:all}} | ||
{{#arrayunique:suball}} | {{#arrayunique:suball}} |
Revision as of 18:08, 29 August 2014
Initial Array setup
apple@red@n, green@apple@n, apple@red@n, apple@purple@n, purple@apple@n, apple@red@y, red@apple@y, apple@red@n, blue@apple@n, apple@red@y, red@apple@y, apple@red@n
apple@red@n, green@apple@n, apple@purple@n, purple@apple@n, apple@red@y, red@apple@y, blue@apple@n
apple@red@n@4, green@apple@n@1, apple@purple@n@1, purple@apple@n@1, apple@red@y@2, red@apple@y@2, blue@apple@n@1,
unique list enemys
red, green, purple, blue
Final Array
red@4@0@4$green@0@1@0$purple@1@1@0$blue@0@1@0$
Final Output
red@4@0@4, green@0@1@0, purple@1@1@0, blue@0@1@0,
apple fought | |||
---|---|---|---|
Combatants | Won | Lost | Draw |
red | 4 | 0 | 4 |
green | 0 | 1 | 0 |
purple | 1 | 1 | 0 |
blue | 0 | 1 | 0 |