Bots and Simulations > DNA - General

Multiple shots?

(1/1)

Endy:
Been meaning to ask what happens if a bot gets hit by multiple shots at once. Do they all affect the bot or are they each treated seperately?

Numsgil:
Here is a rough schematic of what happens over a cycle:

1.  ALL bot DNA code executes.

2.  The program runs through shots one at a time, updating their position and seeing if the movement from the last position to the new position has moved across a bot or not.  If a bot is hit, an appropriate response is executed.

Then we cycle back and start with the next shot.

So, short answer: multiple shots hitting a bot result in multiple responses.

(3.  All bots are moved around all that fun stuff.)

Navigation

[0] Message Index

Go to full version