Author Topic: Randombot Generator  (Read 4517 times)

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
Randombot Generator
« on: June 18, 2007, 01:11:54 PM »
I wrote a simple php app to generate random code for "zerosims", here.

It prints a bunch of random numbers from 0 to 999 and some random asterisks too.  

A sample:

Code: [Select]
'#name: Randombot
'#author: Created with Randombot Generator
* 81 145 973 829 * * 740 751 804 337 50 781 776 208 675 119 115
633 167 490 786 233 442 528 937 520 951 181 281 675 472 812 996 848 *
338 * 931 367 380 621 762 * 713 486 724 116 349 494 908 785 995 *
836 629 430 100 327 193 575 119 362 134 345 538 954 68 475 262 250 515
900 732 477 860 563 70 975 970 250 604 989 233 867 775 * 291 288 529
384 376 18 508 332 914 964 258 * 932 877 899 916 944 574 244 235 467
718 182 156 577 861 69 414 436 801 944 622 432 739 288 376 648 * 830
736 336 588 616 751 56 419 987 * 875 212 245 590 257 716 69 573 811
* 149 5 356 944 454 913 807 682 728 13 441 67 322 852 * 973 502
509 69 348 27 758 88 179 969 525 805 387 100 935 283 723 622 190 805
536 818 329 536 418 873 826 721 762 143 40 607 212 996 921 941 633 752
666 472 795 27 24 836 570 484 407 * 619 369 244 * 701 723 767 743
474 586 161 251 397 978 431 975 5 174 542 992 148 698 106 155 981 83
* 335 * 157 * 588 608 511 567 449 531 61 392 353 132 814 18 227
98 511 610 * 219 235 * 774 974 269 553 12 495 * 310 860 247 366
725 835 309 319 181 319 355 27 178 404 184 927 569 763 2 * 727 877
25 872 114 889 609 898 693 405 773 706 523 32 496 * 223 260 904 648
306 364 * 878 513 665 351 872 707 551 737 902 * 780 48 572 159 599
57 * 134 974 543 238 382 812 685 982 669 368 302 622 213 599 559 139
336 * 879 733 822 108 365 739 327 321 296 999 588 896 60 465 944 249
18 120 663 597 886 981 330 590 678 924 91 594 * 59 373 155 657 *
497 547 * 433 811 762 * 389 829 62 134 71 715 936 132 * 271 509
1 903 36 83 830 188 150 686 636 142 58 * * 252 424 725 597 538
162 216 374 567 671 65 789 701 901 51 172 310 827 531 764 926 645 *
* 190 582 457 220 349 178 681 290 533 450 638 786 52 328 857 717 240
910 948 * 297 123 733 839 886 37 78 34 71 809 606 487 550 564 735
194 748 582 670 69 863 * 941 * 422 588 966 542 849 * 414 977 *
10 853 340 16 82 516 821 727 840 475 511 260 111 774 478 990 743 83
368 * 451 10 800 67 492 519 895 559 649 31 * 916 * 659 113 306
237 192 96 900 * 393 556 443 * 699 314 847 647 884 878 50 211 942

Hope this helps for evolving "zerosims".

This is the php code:

Code: [Select]
echo "'#name: Randombot<br/>";
echo "'#author: Created with Randombot Generator<br/>";


for ($n=1; $n<=30; $n++)
{
  
$I=1;
while($I<=18)
  {

  if (rand(0,10) == 1) echo "* ";
  else echo rand(0,999) . " ";
  

  $I++;
 }

echo "<br/>";

}
« Last Edit: June 18, 2007, 01:20:46 PM by MacadamiaNuts »
Sometimes you win, and sometimes you lose...

Offline Martian

  • Bot Neophyte
  • *
  • Posts: 44
    • View Profile
Randombot Generator
« Reply #1 on: June 28, 2007, 01:51:29 PM »
Quote from: MacadamiaNuts
I wrote a simple php app to generate random code for "zerosims",
It prints a bunch of random numbers from 0 to 999 and some random asterisks too.

Thanks for the program.  

I'm now trying to evolve a randombot. Is one of these randombots eligible for the conditional logic evolution prize?

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Randombot Generator
« Reply #2 on: June 28, 2007, 04:09:53 PM »
I am pretty sure they are, I don't think EricL, would mind using this.

A few quotes

from MacadamiaNuts
Quote
Would any amount of repeats of this:

0 499 999
999 499 0

qualify as a valid "zerobot"? Those are unused sysvars, as far as I know, and mutations would spread better through the whole sysvar range instead of favouring the lower values.

quote from EricL
Quote
Fine with me. A vector of random numbers would also be okay. Any set of starting numbers would be fine as long as the entropy does not differ significantly from that of a pure zerobot

And a link further in the posts from EricL
kullback-Leibler something

Kullback–Leibler divergence jay that was it(copyt it out of wikipedia  )
Sounds pretty hard, I think he means something like anything may be used as long it's not human-created, the set of random numbers and asterisks is purely random created by a program, so I gues it's allowed.


Much succes with the zero-bot(or schould I say random-bot) simulation I hope you will How you spell the dahm word, well much succes, I hope you will get a smart bot out of it.
« Last Edit: June 28, 2007, 04:10:40 PM by Peter »
Oh my god, who the hell cares.

Offline Martian

  • Bot Neophyte
  • *
  • Posts: 44
    • View Profile
Randombot Generator
« Reply #3 on: June 29, 2007, 08:21:24 AM »
Thanks. I got a bot which ties to everything it sees and one that moves around :-D but no reproduction :-(. But I now have to start over because my feeder veggies mutated, I forgot to turn mutations off. This is getting a bit off topic so I'll start a thread in the simulation forum once I have anything interesting to report.

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Randombot Generator
« Reply #4 on: February 07, 2008, 10:35:52 AM »
BUMP!

This is useful.  
The internet is corrupt and controlled by criminally minded people.