Redcoders Frenzy 
| The Code Creator's "Frankenstein" Round |
|---|
Organiser: Sascha Zapf
Hill spec:
Coresize : 8000 Maxprocess : 8000 Cycles : 80000 Lenght : 100+ Distance : 500 Rounds : 250 Round Robin pSpace : 500Two entry's for each participant.
mov.i $PB1,label+2or
add.ab *PB4,label+9Exception from this is the p-switcher code.
Instruction-pool-instruction : A Creator-code-instruction : B Created-warrior-instruction : CThe last instruction of the creator must be a
jmp $....At the moment the execution is on this instruction all instructions A and B, except the jmp-instruction must be deleted. It's allowed to overwrite A or B with C. It's allowed to embed A in C. Means
CCCCCCCAACCCCCCis allowed.
======= I M P O R T A N T =====================Each not used AP will be added to entry's score
===============================================Actions:
============================================
Flip modifier : A -> B -> A
AB -> BA -> AB
F -> X -> F
Cost 2 AP
============================================
Flip adressing mode : # -> $ -> #
* -> @ -> *
{ -> } -> {
< -> > -> <
Cost 2 AP
============================================
Flip instruction : add -> sub -> add
seq -> sne -> seq
jmz -> jmn -> jmz
div -> mul -> div
dat -> nop -> dat
Cost 4 AP
============================================
Change modifier : Cost 3 AP
Change addressing mode : Cost 4 AP
Change instruction : Cost 9 AP
============================================
Swap two constants : Cost 2 AP
Swap two instructions : Cost 3 AP
============================================
Increase entry's length for 5 instruktions : Cost 2 AP
============================================
Save B-instruction from clear : Cost 1 AP
( Last means that more than the jmp-instruction can be visible at the
end of creators code ). Example
Use this action two times, it's allowed that following snippet is
visible
spl 1
spl 1
spl 1
jmp $...
============================================
Please comment each action in your entry's source.;Flip modifier of A-field PB01 : n points ;Swap constants A:PB04 with B:PB03 : n points ;Change instruction PB8 to spl : n pointsHere are the pool's
; ========================
; Pool A - 10 Instructions
; ========================
PA00 spl $ 199 , # 17
PA01 jmp @ 11 , < 47
PA02 mov.i * -3 , } -3
PA03 mul.ab # 367 , $ 0
PA04 spl @ -10 , # 10
PA05 mov.i > 2667 , } -5
PA06 mov.i # 1143 , $ -2
PA07 mod.f $ -1 , $ 16
PA08 sne.b $ 22 , $ 3044
PA09 sub.a $ 0 , $ 2365
; ========================
; Pool B - 15 Instructions
; ========================
PB00 spl @ 1 , # 2667
PB01 mov.i # 2 , * 1143
PB02 dat < 3 , < 889
PB03 sne.i < 1000 , @ 1006
PB04 seq.i < 4 , $ 17
PB05 add.f $ 5 , $ 7
PB06 jmp @ 6 , < 61
PB07 jmz.f $ -6 , > 95
PB08 mov.i * -5 , < 13
PB09 djn.b $ -4 , # 0
PB10 spl # 3044 , # 2365
PB11 mov.ab < -3 , $ 12
PB12 slt.a $ -3 , $ -9
PB13 mov.i > -2 , } -8
PB14 jmp $ -1 , { -7
; ========================
; Pool C - 25 Instructions
; ========================
PC00 spl @ 3077 , # 2
PC01 spl $ -3 , # 3
PC02 mov.i > -1 , } -1
PC03 mov.i } 22 , > 5
PC04 dat < 2667 , < 5334
PC05 mov.ab # 0 , > 7
PC06 sne.i $ 3044 , $ 3364
PC07 sne.x $ 20 , $ 11
PC08 seq.f * 1143 , * 13
PC09 seq.b $ 1203 , < 17
PC10 mov.i $ 2376 , $ -7
PC11 mov.ab $ 4 , @ 19
PC12 jmz.f $ 1 , $ 23
PC13 djn.x $ 1111 , < 29
PC14 djn.a $ -4 , # 1000
PC15 spl # 12 , # 31
PC16 add.ba # 2365 , $ -3
PC17 add.x $ 0 , $ 37
PC18 slt.a $ 889 , $ (joker)
PC19 jmp $ -2667 , $ 41
PC20 mul.ab # -8 , $ 43
PC21 mov.i # 3315 , * 47
PC22 mov.i # -1 , $ 53
PC23 spl $ (joker) , < 2936
PC24 jmn $ -2 , @ 59
* (joker) constants can be choosed by you.
create_decoy for 5
mov.i PB10,>PB07
rof
This decoy will be seen as created code and must not be cleared.
fast_look mul.ab $PB02, $PB12 ; to set b-field as jmz-pointer
sc_loop add.ab $PB05, $PB04
jmz.f @PB12, @PB04 ; where PB12 points to sc_loop
; target pointer at PB04.b
One or more creators: In each a-field of the creators code must be one of
the pools labels. Targets can be the pool or the corecells where you create
your warrior.| # | Name | Author | W% | L% | T% | Score | AP | % |
|---|---|---|---|---|---|---|---|---|
| 1 | Recon-structed | Chip Wendell | 61 | 31 | 8 | 191 | 0 | 100.00 |
| 2 | Luo | G.Labarga | 48 | 29 | 23 | 167 | 4 | 89.52 |
| 3 | Bride of RoP | Chip Wendell | 32 | 10 | 58 | 154 | 11 | 86.38 |
| 4 | Polyethylene | Roy van Rijn | 35 | 14 | 51 | 153 | 2 | 81.15 |
| 5 | Polish Traditional Paper | Lukasz Adamowski | 34 | 31 | 35 | 137 | 6 | 74.86 |
| 6 | Junkyard Guy | Zul Nadzri | 22 | 10 | 68 | 134 | 2 | 71.20 |
| 7 | Frankenstein's Imp | Joshua | 16 | 9 | 75 | 123 | 11 | 70.15 |
| 8 | Tubercles | Zul Nadzri | 34 | 51 | 15 | 117 | 2 | 62.30 |
| 9 | Speedball | Roy van Rijn | 28 | 42 | 30 | 114 | 5 | 62.30 |
| 10 | Lord of the bricks | G.Labarga | 16 | 28 | 56 | 104 | 8 | 58.63 |
| 11 | Being | Lukasz Adamowski | 15 | 45 | 41 | 86 | 15 | 52.87 |
| 12 | igor's two thumbs | el kauka | 20 | 63 | 17 | 77 | 4 | 42.40 |