Author Topic: darwinbots 2.5  (Read 4465 times)

Offline happyhamsterchan

  • Bot Destroyer
  • ***
  • Posts: 118
    • View Profile
darwinbots 2.5
« on: May 16, 2010, 09:24:25 AM »
I LOVE C++!!!

So, when I found out about DB2.5, I was happy. Where can I get the source? How far along is the development? Is there a gui and stuff?
I AM THE...

AWESOME...

FUN...

TURTLE!!!!!

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
darwinbots 2.5
« Reply #1 on: May 16, 2010, 02:30:25 PM »
I set up a repo for it: DarwinbotsC.

It used FoxGUI for the GUI.  OpenGL + GLUT for the graphics.  It was also not a whole lot better than the VB source and rather buggy to boot.  But if you want to dive in to it be my guest

Offline happyhamsterchan

  • Bot Destroyer
  • ***
  • Posts: 118
    • View Profile
darwinbots 2.5
« Reply #2 on: May 16, 2010, 04:21:26 PM »
what do you mean by "not a whole lot better"?

what do you mean by "not a whole lot better"?
I AM THE...

AWESOME...

FUN...

TURTLE!!!!!

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
darwinbots 2.5
« Reply #3 on: May 16, 2010, 05:01:58 PM »
The problems with the VB source are partly that it's in VB (VB6 has it's own flavor of issues), but also partly just the way it's architected.  The C code is probably an 85% straight port of the VB code, so it inherits most of the same issues.

Offline happyhamsterchan

  • Bot Destroyer
  • ***
  • Posts: 118
    • View Profile
darwinbots 2.5
« Reply #4 on: May 16, 2010, 07:43:31 PM »
what dort of architecture problems? How is db3 architected differently? how easy would it be to switch architectures?
I AM THE...

AWESOME...

FUN...

TURTLE!!!!!

Offline happyhamsterchan

  • Bot Destroyer
  • ***
  • Posts: 118
    • View Profile
darwinbots 2.5
« Reply #5 on: May 16, 2010, 08:01:06 PM »
why are we currently working on db2 from time to time, if db2.5 is almost done?
I AM THE...

AWESOME...

FUN...

TURTLE!!!!!

Offline happyhamsterchan

  • Bot Destroyer
  • ***
  • Posts: 118
    • View Profile
darwinbots 2.5
« Reply #6 on: May 16, 2010, 08:10:48 PM »
oh also, now that I have the code, how do I execute it?
I AM THE...

AWESOME...

FUN...

TURTLE!!!!!

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
darwinbots 2.5
« Reply #7 on: May 16, 2010, 08:42:53 PM »
Quote from: happyhamsterchan
what dort of architecture problems? How is db3 architected differently? how easy would it be to switch architectures?

Things are just very... flat.  Non-compartmentalized.  The graphics dig in to the physics and the DNA and bot memory and all that.  It's like a complicated phone operator's switchboard.  eg: picture of a switchboard.  Makes the code hard to maintain because a bug in area A might be caused by a bug in area W.


Quote from: happyhamsterchan
why are we currently working on db2 from time to time, if db2.5 is almost done?

DB2, for all it's faults, is a relatively stable code base.  Whereas the C++ port was basically feature complete but still needed bug fixing.  And as I've come to learn, the last 10% of a project take 90% of the time.

So given that I wanted to start over in C# and do things right from the ground up, it just made sense to abandon the C++ code.


Quote from: happyhamsterchan
oh also, now that I have the code, how do I execute it?

It's just C++ code.  Nothing fancy.  Stick it in either Visual Studio (I used VS6 for this, but it should work in later versions) or GCC and hit compile.