Author Topic: Dividers  (Read 3904 times)

Offline spork22

  • Bot Destroyer
  • ***
  • Posts: 328
    • View Profile
Dividers
« on: June 01, 2014, 02:39:06 PM »
It would be cool if there was a bot that gained a lot of energy and became really big. When it reaches a certain huge size, and when a threat is detected (or food) it reproduces into thousands of little ones, which attack or eat the target. When they're done, they eat each other until it's back into one big bot.
Hubba Jubba Lollywash!

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: Dividers
« Reply #1 on: June 01, 2014, 02:52:22 PM »
The hard part is saving state to remember that you're in a "divide" phase.  I think racial memory works, so that's probably how you'd have to do it.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Dividers
« Reply #2 on: June 01, 2014, 03:05:43 PM »
Code: [Select]
'Perfect Bot for evolution
'FirstBot is the official name

'/*****proper reproduction 1

cond
  *.nrg
  20000
  >
start
  50
  .repro
  store
  'if time to reproduce store it
  1
  972
  store
stop

cond
  '/after robot reproduces it reproduces more until energy less then 3000
  *972
  1
  =
start
  50
  .repro
  store
stop

'***** 2

cond
  *.nrg
  3000
  <
start
  0
  972
  store
stop

'\*****very simple find food method 3

cond
start
 -1
  .shoot
  store
  10
  .up
  store
stop
end

Have fun!  ;)

Offline spork22

  • Bot Destroyer
  • ***
  • Posts: 328
    • View Profile
Re: Dividers
« Reply #3 on: June 01, 2014, 03:28:59 PM »
Nice. It could probably use a better turning method though..
Hubba Jubba Lollywash!

Offline spork22

  • Bot Destroyer
  • ***
  • Posts: 328
    • View Profile
Re: Dividers
« Reply #4 on: June 01, 2014, 03:56:23 PM »
Unless that's just a base bot. Because it doesn't turn at all
Hubba Jubba Lollywash!

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: Dividers
« Reply #5 on: June 01, 2014, 06:21:13 PM »
Yeah it's just a base level bot; you'll need to expand on it if you want it to be more clever :D

Offline spork22

  • Bot Destroyer
  • ***
  • Posts: 328
    • View Profile
Re: Dividers
« Reply #6 on: June 01, 2014, 11:43:33 PM »
I thought so. I was already playing around with the genes.
Hubba Jubba Lollywash!

Offline spork22

  • Bot Destroyer
  • ***
  • Posts: 328
    • View Profile
Re: Dividers
« Reply #7 on: June 04, 2014, 07:04:12 PM »
I've been testing out these genes on a number of bots. It was extremely successful with H.Hunter3, Dominator Invincibalis, Fishy, and Fish School. In all of them, they multiplied explosively into a large swarm of bots. However, all of them had too good of a conspec system to eat each other and become one big bot again.
Hubba Jubba Lollywash!

Offline Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: Dividers
« Reply #8 on: June 04, 2014, 11:49:25 PM »
place it at the end and modify the conspec to allow it to do what you want.