Welcome to GameHourz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Skybuck's Warrior: MultiplyAndConquerV3

 
   Game Forums (Home) -> Core War RSS
Next:  Extended qscan using only sne/seq pairs. Part I  
Author Message
Skybuck Flying

External


Since: May 25, 2006
Posts: 295



(Msg. 1) Posted: Sat Jan 26, 2008 3:19 am
Post subject: Skybuck's Warrior: MultiplyAndConquerV3
Archived from groups: rec>games>corewar (more info?)

;redcode
;name MultiplyAndConquerV3
;author Skybuck Flying
;strategy Multiply and Conquer
;strategy Concuer the whole core
;version 3
;date 26-1-2008
;notes Music for the warrior:
;notes I will survive - Gloria Gaynor
;notes http://www.youtube.com/watch?v=Xv6lHwWwO3w
;tested and working in CoreWin 2.3
;assert 1

WarriorBegin
WarriorLength equ (WarriorEnd - WarriorBegin)

Initialization

Copy
mov }Source, >Dest
Loop
djn Copy, #WarriorLength
Spawn
nop $0, $0 ; filling for nicer pattern
sub #(WarriorLength-(SpawnHere-WarriorBegin)), $Dest
spl @Dest
add #(WarriorLength-(SpawnHere-WarriorBegin)), $Dest
nop $0, $0 ; filling for nicer pattern

SpawnHere

ResetLoopCounter
mov.ab #WarriorLength, $Loop

ResetSource
mov.a #(WarriorBegin-Source), $Source

ResetDest
mov.ab #(WarriorEnd - Dest), $Dest

; Dest := Dest + ( ( L * 2 ) - L );
MultipleIncrementation
mul.ab #2, $Incrementation

AddIncrementation
add.b $Incrementation, $Dest
sub.ab #WarriorLength, $Dest

Reloop
; further extensions could be made here after core concuer
; djn Copy, #9
jmp Copy

Source
Dest
dat #WarriorBegin, #WarriorEnd

Incrementation
dat $0, #WarriorLength

WarriorEnd
dat $0, $0

 >> Stay informed about: Skybuck's Warrior: MultiplyAndConquerV3 
Back to top
Login to vote
Skybuck Flying

External


Since: May 25, 2006
Posts: 295



(Msg. 2) Posted: Sun Jan 27, 2008 6:13 am
Post subject: Re: Skybuck's Warrior: MultiplyAndConquerV3 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Idea for future:

Use some kind of health check to see if certain copies are alive or dead.

For example:

P-Space Number * WarriorLength could function as a location where the
warriors will be located.

Then the flag in the p-space indicates if it's alive or dead, by
"challenging" the flag.

As described in survivor v8

Bye,
Skybuck.

 >> Stay informed about: Skybuck's Warrior: MultiplyAndConquerV3 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Warrior: Skybuck's NastyDestroyerV1 - ;recode ;name NastyDestroyerV1 ;author Skybuck Flying ;strategy Bomb, Bomb, Bomb, Bomb =D ;version 1 ;date 24-1-2008 12:21:00 ;assert 1 Here spl 0 spl 1 spl 1 spl 1 spl 1 spl 1 mov Bomb, >BombCounterDown mov Bomb, <BombCounterUp mov Bomb, >BombC...

Warrior: Skybuck's NastyDestroyerV2 - ;recode ;name NastyDestroyerV2 ;author Skybuck Flying ;strategy Bomb, Bomb, Bomb, Bomb =D ;version 2 ;date 24-1-2008 12:23:00 ;assert 1 Here spl 0 spl 1 spl 1 spl 1 spl 1 spl 1 mov Bomb, >BombCounterDown mov Bomb, <BombCounterUp mov Bomb, >BombC...

Warrior: Skybuck's DivideAndConcuerV1 - Copies itself half way to the core and spawns there, then resets itself and divides counter by 2, then copies itself again half way the half core, etc. Like divide and concuer ;) :) ;redcode ;name DivideAndConquerV1 ;author Skybuck Flying ;strategy..

Warrior: Skybuck's DivideAndConcuerV2, (turns into tieing .. - ; Don't fight, don't try to kill, just stay alive =D, why can't we all just be friends ? :) ;redcode ;name DivideAndConquerV2 ;author Skybuck Flying ;strategy Divide and Concuer, Turns into tieing imps. ;version 2 ;date 25-1-2008 ;assert 1 WarriorBegin...

Odp: Skybuck's Racing Random Number Generator - Dnia 23-12-2007 o godz. 1:01 Skybuck Flying napisal: > [...] > > Third run: > > press enter to start > > press enter to stop > Number 0 A: 1117172294 > Number 1 A: 2096728732 > Number 2 A: 1845167743 > Number 3 A: 1451...
   Game Forums (Home) -> Core War All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]