Author Topic: Mythos 1.1(SS)(Bacillus)  (Read 5064 times)

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
Mythos 1.1(SS)(Bacillus)
« on: January 14, 2010, 05:00:22 PM »
Thanks Moonfisher, the rnd tip really helped me out. It also helped me solve that problem I was having with birthties eariler on...
Code: [Select]
'Mythos
'The new Single-Store bot by Bacillus

def threshold 2000

start

*.tiepres
*.numties sgn mult

100
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor -- abs mult
add

628 rnd
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor mult
 *.nrg .threshold sub sgn 0 floor
 *.eye5 30 sub sgn 0 floor mult
 *.eye5 sgn
 *.myeye *.refeye sub sgn abs -- abs mult
 add sgn mult
add

 
40
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor mult
 *.nrg .threshold sub sgn 0 floor mult
 *.eye5 30 sub sgn 0 floor -- abs mult
 add


-6
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor mult
 *.nrg .threshold sub sgn 0 floor -- abs mult
 *.myeye *.refeye sub sgn abs mult
 *.eye5 40 sub sgn 0 floor mult
add

-60
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor mult
 *.nrg .threshold sub sgn 0 floor -- abs mult
 *.eye5 sgn -- abs mult
 *.eye9 sgn mult
add

40 *.velup sub
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor mult
 *.nrg .threshold sub sgn 0 floor -- abs mult
 *.eye5 sgn -- abs mult
 *.eye9 sgn -- abs mult
add

50 *.eye5 sub 0 floor *.velup sub
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor mult
 *.nrg .threshold sub sgn 0 floor -- abs mult
 *.myeye *.refeye sub sgn abs mult
 *.eye5 sgn abs mult
 *.eye5 40 sub sgn 0 floor -- abs mult
add

.deltie
 *.numties sgn mult

.strbody
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor -- abs mult
add

.aimdx
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor mult
 *.nrg .threshold sub sgn 0 floor
 *.eye5 30 sub sgn 0 floor mult
 *.eye5 sgn
 *.myeye *.refeye sub sgn abs -- abs mult
 add sgn mult
add

.repro
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor mult
 *.nrg .threshold sub sgn 0 floor mult
 *.eye5 30 sub sgn 0 floor -- abs mult
 add

.shoot
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor mult
 *.nrg .threshold sub sgn 0 floor -- abs mult
 *.myeye *.refeye sub sgn abs mult
 *.eye5 40 sub sgn 0 floor mult
add

.aimsx
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor mult
 *.nrg .threshold sub sgn 0 floor -- abs mult
 *.eye5 sgn -- abs mult
 *.eye9 sgn mult
add

.up
*.numties sgn -- abs mult
*.body 50 sub sgn 0 floor mult
 *.nrg .threshold sub sgn 0 floor -- abs mult
 *.eye5 sgn -- abs
 *.eye9 sgn -- abs mult
 *.myeye *.refeye sub sgn abs
 *.eye5 sgn abs mult
 *.eye5 40 sub sgn 0 floor -- abs mult
 add sgn mult
add

store
stop
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
Mythos 1.1(SS)(Bacillus)
« Reply #1 on: January 14, 2010, 05:35:44 PM »
Is it actually possible for the integer stack to carry over between genes? If so, the structure could be made a whole lot less messy...
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan

Offline jknilinux

  • Bot Destroyer
  • ***
  • Posts: 468
    • View Profile
Mythos 1.1(SS)(Bacillus)
« Reply #2 on: January 14, 2010, 08:42:16 PM »
So, basically, is it working now? The bug's gone?

Oh and what features does this have that differentiate it from other SSbots?
« Last Edit: January 14, 2010, 08:43:08 PM by jknilinux »

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
Mythos 1.1(SS)(Bacillus)
« Reply #3 on: January 14, 2010, 09:03:52 PM »
Yep, bug's gone.
I haven't seen many other SS bots, but basically instead of relying on the timer to sequence events, it uses a cascading response system life Dominis. It has tie breaking, conspec, body control, motion control (it slows down as it approaches food, which is seen as tracking behaviour), lopsided vision (it only uses eyes 5 and 9). That's because the bot turns away when a conspec is sighted, and only turns in one direction. This means you'll see a bunch of bots heading the same direction more often than most other SS bots, as a sort of super-primitive group behaviour.
« Last Edit: January 14, 2010, 11:08:01 PM by bacillus »
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
Mythos 1.1(SS)(Bacillus)
« Reply #4 on: January 15, 2010, 12:25:47 AM »
I just got this really cool sim going between Brevis and Mythos (as cool as two SS bots with insane lag can get   ). Mythos has a clear advantage, as it controls all the veggies on the field, and Brevis is surviving by eating all the stragglers. The population has been stable for the last hour or so at 200 Mythos and 60 Brevis...

EDIT=> Ok, didn't beat Brevis, but held out for ages. Should go far in the league...
« Last Edit: January 15, 2010, 07:10:48 PM by bacillus »
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan