Author Topic: Order of mutation  (Read 8565 times)

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Order of mutation
« Reply #15 on: April 29, 2005, 02:27:28 PM »
And incidentally, regular shots have a spread of about 20 degrees anyway. They don't shoot straight out. They have a random offset from the robot's aim angle.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Order of mutation
« Reply #16 on: April 29, 2005, 02:29:20 PM »
yes I know , its not a straight line.

DoH I forgot I am BlinD aNd I am seeing them shoot straight lines...

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Order of mutation
« Reply #17 on: April 29, 2005, 02:30:46 PM »
sounds like have to add another one without your approval.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Order of mutation
« Reply #18 on: April 29, 2005, 02:34:30 PM »
It could be done, but not without making enormous changes to the source code.
The only way around it would be to completely change the way that DB parses the DNA.
First, you would have to add a new stack to keep track of requested shots.
Next you would have to remove all shot calls from the regular robot code and shift those calls into DNA parsing.
Next you will need a loop that reads back the shot requests from the shot stack and sends the code to the right routines to make the shots.
The next problem you will have to face is how to integrate secondary shots like -2s, poison and viruses into your new system. These are generated in a different way in response to stimuli which can only be accessed in the main loop of the program and not from DNA parsing.

To be honest, it would be almost as quick to write an entirely new program as it would to make those kind of changes.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Order of mutation
« Reply #19 on: April 29, 2005, 02:36:31 PM »
Quote
sounds like have to add another one without your approval.

Go right ahead and add whatever you like. You don't need my approval to make changes to the source code. It's free source so go ahead. Knock yourself out.  :lol:

I am just pointing out the pitfalls.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Order of mutation
« Reply #20 on: April 29, 2005, 02:39:31 PM »
:) thx PY,

I thought that having an idea of a new program - then changing the idea into actual code was the hardest thing to do.

Changing an exsisting source code with a few minor changes is the second hardest thing thats for sure
« Last Edit: April 29, 2005, 02:39:52 PM by Botsareus »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Order of mutation
« Reply #21 on: April 29, 2005, 02:43:43 PM »
Actually Bots, I would have to disagree.

I think making large changes in an existing code with complex interactions is much harder writing new code.
The difference is that you get instant gratification when it works properly instead of having to build the entire program first.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Order of mutation
« Reply #22 on: April 29, 2005, 02:46:43 PM »
and to think, I am not even in collage yet, and I am talking about programing like that with guys in the feild... B)

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Order of mutation
« Reply #23 on: April 29, 2005, 03:15:04 PM »
Technically neither of us are in the programming field.

Aimshoot already exists (but you knew that, right?)  It lets you specify an angle to fire your shot from.  I'd have to look it up again to see exactly how it works, but I think I put an netry on the wiki.

I don't like the idea of multiple shots in a single cycle.  It would make new bots way too powerful compared to older bots.  I'm all for giving the bots easier use of existing functions and even a few new functions, but we have to keep things balanced.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Order of mutation
« Reply #24 on: April 29, 2005, 05:22:24 PM »
You can shoot a normal shaot and a virus in the same cycle.
Does that count?  :rolleyes:
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Order of mutation
« Reply #25 on: April 30, 2005, 01:57:48 PM »
WHAT? ITS IN THERE ALREADY?

O well , saves me trouble.

Good Job guys...