www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [OT]: Google AI Challenge: starter package for D

On Friday (Sept. 10), Google/The University of Waterloo is going to open up
registration for the next Google AI Challenge. Right now they are accepting
"starter packages" for any language with a free compiler that can run on
Ubuntu 8.04 (what their server runs), which means dmd is a candidate. I have
already gotten a sort-of thumbs up from the contest organizer on getting
them to host D as a language[1], and this evening I put together a starter
package[2].

However, I am still very much a novice with D, so I was hoping some of you
experts could take a look at the code and give some suggestions,
particularly regarding performance enhancements. Each bot is allowed 1
second of calculation time per turn, and doing file IO haphazardly like I do
is probably eating up a lot of that time. The files in question are the ones
ending in .d; everything else just behind the scenes stuff that doesn't
change.


[1] http://ai-contest.com/forum/viewtopic.php?f=18&t=423
[2] http://bitbucket.org/Queue29/d_starter_package/src



Seth Hoenig
seth.a.hoenig gmail.com
Sep 07 2010