Author Topic: Singularis(SS)(Commander Keen)  (Read 4631 times)

Offline Commander Keen

  • Bot Builder
  • **
  • Posts: 91
    • View Profile
Singularis(SS)(Commander Keen)
« on: March 19, 2008, 08:19:47 PM »
Making SS bots is harder than I thought!

Code: [Select]
'Singularis by Commander Keen
'A single store tie feeder that isn't terribly efficient
'I commented out the reproduction gene, because it ends up killing itself
'I have considered commenting out the slime generation, maybe shell would be more useful, or neither
start
1 *.robage 10 mod sgn sub 20 *.velsx sub mult
1 *.robage 3 mod sgn sub 99 mult add
.robage 2 mod sgn add
1 *.robage 11 mod sgn sub 50 mult add
'1 *.robage 13 mod sgn sub 50 mult *.nrg 1000 sub 0 floor sgn mult add ' They just kill each other
1 *.robage 7 mod sgn sub 500 *.slime sub mult add ' never makes right amount, could comment out
1 *.robage 3 mod sgn sub .sharenrg mult
1 *.robage 10 mod sgn sub .sx mult add
*.robage 2 mod sgn .tie mult add
'1 *.robage 13 mod sgn sub .repro mult *.nrg 1000 sub 0 floor sgn mult add 'They just kill each other
1 *.robage 7 mod sgn sub .mkslime mult add 'Never makes the right amount, could comment out
1 *.robage 11 mod sgn sub .aimdx mult add
store
stop
« Last Edit: May 13, 2014, 04:32:27 PM by Botsareus »

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
Singularis(SS)(Commander Keen)
« Reply #1 on: March 22, 2008, 05:28:24 PM »
Yeah, making SS bots is damn hard.
I finaly finished Brevis, took ages, I thought to myself, I'll just try and SS'ify Excalibur real quick...
SS'ifying Excalibur is not something you just do "real quick", hard to rethink a lot of stuff and coordinate and prioriize....
In the end the condition blocks filled out more than a page each... it was getting impossible to debug.
So... thought of a way to hunt bugs more effectively, and it's a good way to be certain that no actions are overlapping before you start to convert the code.
SG'fy the entire code before I sart to put it together, and gotta test while assempling it... all the time...

I wrote the code I used for debugging Brevis in the same post, it's very usefull for making a SS bot.

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
Singularis(SS)(Commander Keen)
« Reply #2 on: March 24, 2008, 07:17:11 PM »
I would never be mad enough to try make one of these, but by the looks of it, the slime/shell feature is one best left ommited, because with SS bots you not only have to think in % of nrg, but also % of time used up on each command. The time could be better put to use making more ties or feeding or reproducing. Maybe a cascading priority system is the bast way to go.

Oooh, this sounds like fun. I imagine no bot in the SS league would be particularly strong, just efficent beyond all other leagues.
"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 Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Singularis(SS)(Commander Keen)
« Reply #3 on: March 25, 2008, 12:05:05 AM »
It does have a certain alluring madness to it

Like staring in to the sun

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
Singularis(SS)(Commander Keen)
« Reply #4 on: March 25, 2008, 08:35:49 AM »
Well, it's not like you need to beat anything to get in the league...

cond
start
0 0 store
stop

Theoreticaly this is a SS bot that would be able to get a league spot
Basicaly saying you can submit your evolved zero bot and it'll get a spot in the league even if it doesn't survive for long
So the bar is still very low for the SS league, if you can make a bot able to survive with 1 store you'll already have beaten nano... actualy a zero bot beats nano....
What I'm saying is... start small... and if you're having problems debugging, just get the debug code from Brevis (Posted as a reply to the topic) I would never have gotten that thing to work propperly without that code (Or it would atleast have taken 10 times longer).