I'm semi-perversely interested in porting it to Javascript :) But it'd strictly be a spare-time-when-I-feel-like-it-and-am-not-on-HN kind of project.
The .exe and the data files: http://plasmaworks.com/files/pits/pits95.zip
The level editor (Source Code got lost, but Apache-license is also valid for this one. If someone can disassemble it and create some maintainable sourcecode from it, very welcome) http://plasmaworks.com/files/pits/pitsedit.zip
Screenshot for reference (more googling for puzzle pits): http://www.google.com/imgres?imgurl=http://www.old-games.com...
I will include the data-files in the repository. This is the very first release, and it's far from perfect as it is of course.
char cryptkey[]={'M'-4,'i'-8,'n'-12,'d'-16,'y'-20,0};
LONG Encrypt(char far *data,char *key)
{
LONG i=0,keypos=0;
while(data[i]!=0){
data[i++]^=key[keypos++];
if(key[keypos]==0) keypos=0;
}
return i;
}
Coupled with the following quote from the preface of Bruce Schneier's Applied Cryptography"The simple-XOR algorithm is really an embarrassment; it’s nothing more than a Vigenère polyalphabetic cipher. It’s here only because of its prevalence in commercial software packages, at least those in the MS-DOS and Macintosh worlds [1502,1387]."
If you want to keep it as is, Turbo C is free online, from Borland.