Darwinbots Forum

Bots and Simulations => Bestiary => F2 bots => Topic started by: Bagel on February 01, 2011, 03:03:36 PM

Title: Ridicuous (F2) (Bagel) 01/02/11
Post by: Bagel on February 01, 2011, 03:03:36 PM
Code: [Select]
'Ridiculous
'By Bagel
'First Bot
'Modified A. Minimalis with a bunch
'of new bells and whistles

'Find food
cond
 *.eye5 0 >
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop

'Shoot nrg
cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.refnrg *.refbody >
start
 2 .shootval store
-1 .shoot store
 *.refvelup .up store
stop

'Shoot Body
cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.refnrg *.refbody <
start
 2 .shootval store
-6 .shoot store
 *.refvelup .up store
stop

'Idle Roam
cond
 *.eye5 0 =
 *.refeye *.myeye = or
start
 314 rnd .aimdx store
 10 rnd .up store
stop

'Reproduce
cond
 *.nrg 18000 >
start
 15 .repro store
stop

'Sever the Tie
cond
 *.robage 0 =
start
 1 .deltie store
 7 .ploc store
-2 .pval store
stop

'Defence
cond
 *.shell 25 <=
start
 10 .mkshell store
stop

cond
 *.ploc 0 =
start
 7 .ploc store
-2 .pval store
stop

cond
 *.poison 50 <=
start
 10 .strpoison store
stop

'Garbage Removal
cond
 *.eye5 5 <=
 *.waste 100 >
start
 *.waste .shootval store
 -4 .shoot store
stop

cond
start
 0 .refeye store
 0 .refnrg store
 0 .refbody store
stop

end

Title: Re: Ridicuous (F2) (Bagel) 01/02/11
Post by: Panda on February 02, 2011, 05:57:21 PM
The first test will be against my Haud Nomen... if I can be bothered to get a sim running. :L
Title: Re: Ridicuous (F2) (Bagel) 01/02/11
Post by: Bagel on February 03, 2011, 08:22:41 PM
    I've tested it against a few of the bot  already on the F2 ladder.  It wins on occasion, usually by numbers and not firepower.  Defenses could use an improvement, as body shots tend to kill them by ignoring poison.