Code center > Darwinbots Program Source Code

Modifying the code

<< < (2/3) > >>

Numsgil:
I believe that "illegal operation" thing has come up before.  Not sure exactly what causes it.

You can also get a C++ compielr from the wiki and use it to compile the C++ source.

PurpleYouko:
VB does weird shit now and then with apparently no good reason.  

frankle:
thats because VB is really an acronym for "Very Buggy"

Jez:
Soon to be transferred to C+  or C++ or C+++ whatever you programmer peeps call it!

/me looks at Nums' to see if he has had time/inclination to make further progress on his epic work.

Numsgil:
At the moment I'm toying with the idea of moving it into C#.  Most of the C++ code would copy and paste over, especially the more algorithm-y code.  This would also reduce the number of dependancies, and allow native access to the form designers, which make GUI maintenance easier and give access to the .NET internet controls, which is important for future networking.

The C++ code at the moment is 90% complete.  It just needs tie physics to be figured out (there's a reason this is the last.  I have no idea how to do it!).  And the GUI (options form mainly) needs to be finished.  You can check out alot of the details here.

The code is also a little messy (though orders of magnitude cleaner than the VB code) and could do with a massive refactoring.

If people are interested I can build a trial version download that people could just run to see what things are going on in the C++ source.  Most interesting, the physics are much better.  Bots never overlap at all, they're treated as 100% rigid for collisions.  Bots also bounce off of walls instead of just sort of "plop".

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version