digitalmars.empire - Empire in D
- Walter (18/18) Apr 28 2004 Every language needs a game written in it, and now Empire is in D (at le...
- Jan Knepper (8/11) Apr 29 2004 HA!
- Yeric (7/7) Apr 30 2004 Ah This game brings back memories :)
Every language needs a game written in it, and now Empire is in D (at least version 0.86). You can pick it up at www.classicempire.com. Warning: Empire has a long track record of being an enormous and unproductive time waster. It's been rumored to me to have caused many students to flunk out of college, job loss, and was even reputed to have instigated a divorce. Start playing it at your own risk. Empire is the granddaddy of all computer strategic wargames. It's probably the most ripped off, pirated, emulated, copied and derived computer game, and for good reason. Empire started out in Basic. Then it was translated to Fortran, to PDP-11 assembler, to C, to C++, and now D. It carries along anachronisms from each former life, so don't think of it as a particularly compelling example of how to do things in D. But it does work as a basic Windows program. This code has many thousands of hours of testing on it. But when I ported it to D, the extra checking D does (in this case, array bounds checking) found two bugs in it. There isn't very much to the primitive windows graphics in it. If anyone wants to take a stab at porting it to linux, that would be fun to see!
Apr 28 2004
Walter wrote:This code has many thousands of hours of testing on it. But when I ported it to D, the extra checking D does (in this case, array bounds checking) found two bugs in it.HA! Cool! -- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Apr 29 2004
Ah This game brings back memories :) The goold old 16 colour Blocky graphics screechy sounds but hell they were great fun to play, too bad these days they spend more time and $ on what the game looks like and sounds like rather than the playability factor I guess any C source coded game should port fairly well to D ? I am sure I have doom source somewhere Yeric
Apr 30 2004