Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - trimalchio

Pages: [1]
1
Darwinbots3 / Anyone out there?
« on: February 12, 2009, 01:53:48 PM »
I'm still not sure what's going on with this community here, but this program is very interesting. If you're making Darwinbots 3, that's fine, but it doesn't seem to be moving very fast. I have many ideas about a similar evo/sim but it goes in a very different direction than what you seem to be visualizing. In fact, what I have in mind would be very different from what Darwinbots is or will be. I should probably look harder to see if anyone else is doing what I'm thinking, but it doesn't seem to be out there. Anyway, I have experience in C++/Java, I could learn C#, I'd rather not learn VB, and I am interested in making my own program, probably in Java for various reasons. I've never worked on a team programming project before, and I'll probably lose interest in a week or two. If there is actually anyone here, I would appreciate talking about whether I would help this project or do my own thing. I think that my ideas are strong and practical, and could eventually become a useful program. Anyway, I'd just like to know if there's actually anyone here, since there seem to be about six posts in the last month. I suppose I should get started. I could explain what I'm thinking if anyone is interested.

2
Untagged bots / Diversa reflexum (F3)(Trimalchio)-11.02.09
« on: February 11, 2009, 01:22:26 PM »
Code: [Select]
'DIVERSA REFLEXUM
'Made by Trimalchio
'for F3 League


'====Sync====
cond
start
  9 .timer store
  .delgene inc
stop


'====Birth====
cond
  *.numties 0 >
start
  9999 rnd .out4 store
  .in4 .memloc store
  *.timer .out3 store
  .deltie inc
  300 .eye5width store
stop


'====Repro====
cond
  *.nrg 2000 >
  *.eye5 0 =
  *.out1 0 =
  *.robage 0 >
start
  25 .repro store
stop


'====Combat====
cond
  *.eye5 0 >
  *.refage 0 >
start

'----Friend----
  *.in3 *.timer =
    *.in1 *.out1 store
    *.in2 *.out2 store
    *.refveldx sgn 30 mult .dx store
    .dx inc

'----Enemy----
  not
    *.refxpos .out1 store
    *.refypos .out2 store
    300 .eye5width store

'----Tactics----
    2425 *.refveldx dup mult sub sqr dup
    *.refveldn add 10 mult *.out1 *.out2 dist > and
      *.xpos add *.ypos *.refveldx sub angle .aimshoot store
      *.body *.refbody sub 50 div .up store
      25 .shootval store
      .shoot dec
      *.refnrg 700 > and
        -6 .shoot store
        *.velsx 2 div .dx store
        *.veldn .up store

'----Retreat----
  *.memval *.out4 =
    -100 .up store
stop


'====Search====
cond
start
  .out3 inc

'----Spin and search----
  *.out1 0 =
    490 .aimdx store
    *.eye5width 50 add 2 div .eye5width store

'----Follow target----
  not
    *.out1 *.out2 angle .setaim store
    *.up 30 add .up store
    *.eye5 0 = *.in3 *.timer = or and
      0 .out1 store
stop


'====Body====

'----Grow----
cond
  *.nrg *.body 200 add >
start
  100 .strbody store
stop

'----Shrink----
cond
  *.nrg *.body <
start
  100 .fdbody store
stop
end

Is this site normally this slow or is it because of all the broken forum links everywhere?

I've used only original code, no copying from other bots. While it still has room for evolution, it currently seems to be very, very strong. It has perfect aiming, a very good search pattern, clever tactics, infallible conspecs, and everything else I could put in. Again, it is completely original. Can you beat it? I may make other versions for other leagues if I feel like it. Tell me what you think.

Edit: I may have set the maxvel a little low during testing. I'm pretty sure that most of the links to the forum scattered throughout the wiki are broken, or were a couple days ago. I probably should reply, not edit. Too late.

[attachment=1169:Diversa_reflexum.txt]

Pages: [1]