Welcome to GameHourz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Warrior: Skybuck's DivideAndConcuerV1

 
   Game Forums (Home) -> Core War RSS
Related Topics:
Warrior: Skybuck's NastyDestroyerV1 - ;recode ;name ;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, mov Bomb, mov Bomb,

Warrior: Skybuck's NastyDestroyerV2 - ;recode ;name ;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, mov Bomb, mov Bomb,

Odp: Skybuck's Racing Random Number Generator - Dnia o godz. 1:01 Skybuck Flying napisal: > [...] > > Third run: > > press enter to start > > press enter to stop > Number 0 A: > Number 1 A: > Number 2 A: > Number 3 A: 145117240 > Number 4 A: >..

My first warrior. - Watch him run in pMARS with the default window size for full effect. ;name ;author Heath Caldwell ;assert 1 linelen equ (157) blocklen equ (5) org start x dat #0, #0 y dat ..

AI warrior. - Hi I'm totally new to this field, so I'm sorry if the question sounds Does anybody have designed a warrior using AI (like fuzzy logic or Neural Network)? Do you think that such a could be too much in..
Next:  Core War: Warrior: Skybuck's NastyDestroyerV2  
Author Message
Skybuck Flying

External


Since: May 25, 2006
Posts: 295



(Msg. 1) Posted: Fri Jan 25, 2008 4:42 am
Post subject: Warrior: Skybuck's DivideAndConcuerV1
Archived from groups: rec>games>corewar (more info?)

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 Wink Smile

;redcode
;name DivideAndConquerV1
;author Skybuck Flying
;strategy Divide and Concuer
;version 1
;date 25-1-2008
;assert 1
WarriorBegin
WarriorLength equ (WarriorEnd-WarriorBegin)

Initialization

Copy
mov }Source, >Dest
Loop djn Copy, #WarriorLength
sub #5, $Dest
spl @Dest
mov.ab #WarriorLength, Loop
mov.a #(WarriorBegin-Source), $Source
div #2, $Dest
jmp Copy
Source
Dest
dat #WarriorBegin, #(CORESIZE / 2) - (WarriorLength / 2)
WarriorEnd
dat $0, $0

 >> Stay informed about: Warrior: Skybuck's DivideAndConcuerV1 
Back to top
Login to vote
Display posts from previous:   
   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 ]