Author Topic: How will DB3 DNA work?  (Read 3652 times)

Offline PhiNotPi

  • Bot Builder
  • **
  • Posts: 64
    • View Profile
How will DB3 DNA work?
« on: August 17, 2010, 10:13:34 AM »
I have been hearing about how DB3 DNA will be different from DB2 DNA.  I am wondering how it will work and if DB2 robots can still work. Can anyone give me examples or an explanation?
I am biased neither towards nor against any single mathematical constant.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: How will DB3 DNA work?
« Reply #1 on: August 17, 2010, 01:15:59 PM »
This part is actually already coded up (and has been for a while), so you can get a very good idea of how it will work.  See this topic.

DB2 bots won't work.  The syntax, command list, and behavior of commands are slightly different.  That said, there's probably a way to convert old bots automatically to the new system fairly easily, assuming there are comparable sysvars.  Evolved bots and conditionless bots will probably would be far harder, though.  (For instance, sqrt in the DB3 code handles negative numbers differently).