Author Topic: The amazing wikibot  (Read 22048 times)

Offline jknilinux

  • Bot Destroyer
  • ***
  • Posts: 468
    • View Profile
The amazing wikibot
« on: December 10, 2009, 02:38:55 PM »
Hey everyone, here's a cool idea...

Lets make a "wikibot" so that everyone can add their own code to this community bot, similar to how wikipedia works!  
 Just add as little or as much code as you want, and post your resulting bot as a reply. Let's start with A. Minimalis:

Quote
'Wikibot, based on A. Minimalis
'Contains everything necessary for it to survive and reproduce.

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

cond
*.eye5 50 >
*.refeye *.myeye !=
start
-1 .shoot store
*.refvelup .up store
stop

cond
*.eye5 0 =
*.refeye *.myeye = or
start
314 rnd .aimdx store
stop

cond
*.nrg 20000 >
start
10 .repro store
stop
end

Sound fun?

BTW Numsgil, may I make a wiki entry on this?

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
The amazing wikibot
« Reply #1 on: December 10, 2009, 02:51:46 PM »
Already been done actually.  Sort of.  Nothing much came of it but there you go.  Clicky.

You don't need permission to mess around on the wiki.  If things get out of hand someone else will come in and make things better.  So be bold.

Offline jknilinux

  • Bot Destroyer
  • ***
  • Posts: 468
    • View Profile
The amazing wikibot
« Reply #2 on: December 10, 2009, 06:47:06 PM »
Darn. oh well.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
The amazing wikibot
« Reply #3 on: December 10, 2009, 08:30:32 PM »
The problem is that while open collaboration sounds like a good idea, you need someone taking ownership for anything to get done.  And bots can easily become complex enough that only the author can actually make heads or tails of the bot code.  So they don't match the idea of wiki collaboration very well.

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
The amazing wikibot
« Reply #4 on: December 11, 2009, 01:19:50 PM »
Could turn it into a bot challenge...
Everyone could get a memmory range to be responsible for, and noone would be allowed to talk.

Edit :
Or even worse... you could build it like a one word story forum thing, just with one line of code. So it would be a 1G bot with no gene condition, and everyone just adds one line at the time. You make a condition and the next person needs to guess what it's for...
« Last Edit: December 11, 2009, 01:23:24 PM by Moonfisher »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
The amazing wikibot
« Reply #5 on: December 11, 2009, 04:20:39 PM »
Quote from: Moonfisher
Or even worse... you could build it like a one word story forum thing, just with one line of code. So it would be a 1G bot with no gene condition, and everyone just adds one line at the time. You make a condition and the next person needs to guess what it's for...

Ah, that would be crazy

I'll start:

Code: [Select]
*.body 200 <

Offline jknilinux

  • Bot Destroyer
  • ***
  • Posts: 468
    • View Profile
The amazing wikibot
« Reply #6 on: December 11, 2009, 04:33:01 PM »
Quote from: Numsgil
Quote from: Moonfisher
Or even worse... you could build it like a one word story forum thing, just with one line of code. So it would be a 1G bot with no gene condition, and everyone just adds one line at the time. You make a condition and the next person needs to guess what it's for...

Ah, that would be crazy

I'll start:

Code: [Select]
*.body 200 <

Code: [Select]
*.body 200 <
*.nrg 200 > and

btw, that checks to see if body < 200 AND nrg > 200, right?

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
The amazing wikibot
« Reply #7 on: December 11, 2009, 05:01:02 PM »
Yes, that's right.

Offline jknilinux

  • Bot Destroyer
  • ***
  • Posts: 468
    • View Profile
The amazing wikibot
« Reply #8 on: December 11, 2009, 06:58:37 PM »
K, your turn

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
The amazing wikibot
« Reply #9 on: December 11, 2009, 07:12:25 PM »
Code: [Select]
*.body 200 <
*.nrg 200 > and
20 .dn store



I'll hold off on posting any more.  I want to see if we can drum up some interest in this beyond just us two (and maybe Moonfisher).

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
The amazing wikibot
« Reply #10 on: December 12, 2009, 07:27:33 AM »
[div class=\'codetop\']CODE[div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']*.body 200 <
*.nrg 200 > and
20 .dn store
.backshot inc

Offline abyaly

  • Bot Destroyer
  • ***
  • Posts: 363
    • View Profile
The amazing wikibot
« Reply #11 on: December 12, 2009, 10:01:53 AM »
[div class=\'codetop\']CODE[div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']*.body 200 <
*.nrg 200 > and
20 .dn store
.backshot inc
618 .eye5dir .focuseye add store

Lancre operated on the feudal system, which was to say, everyone feuded all
the time and handed on the fight to their descendants.
        -- (Terry Pratchett, Carpe Jugulum)

Offline jknilinux

  • Bot Destroyer
  • ***
  • Posts: 468
    • View Profile
The amazing wikibot
« Reply #12 on: December 13, 2009, 04:53:53 AM »
Quote from: abyaly
[div class=\'codetop\']CODE[div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']*.body 200 <
*.nrg 200 > and
20 .dn store
.backshot inc
618 .eye5dir .focuseye add store

Abyaly's line turns the bot around 180 and focuses on eye5, right? And moonfisher's makes the next shot fired by the bot have to be from behind?
...So eye5 and shot direction are pointing the same way now?

Also, having high nrg and low body doesn't indicate that anyone is attacking you. But was that the point of the DNA so far?
Just a bit confused...  

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
The amazing wikibot
« Reply #13 on: December 13, 2009, 06:03:20 AM »
Abyaly's line turns the current focus eye to point straight backwards.
And backshot makes sure the next shot comes from behind yes.
Other than that, I think it's more fun if we don't discuss what the purpose or goal is

Offline jknilinux

  • Bot Destroyer
  • ***
  • Posts: 468
    • View Profile
The amazing wikibot
« Reply #14 on: December 13, 2009, 11:50:52 AM »
OK, That was the last question.
Code: [Select]
*.body 200 <
*.nrg 200 > and
20 .dn store
.backshot inc
618 .eye5dir .focuseye add store
-1 .shoot store