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