Well now, a couple of days ago, mawe posted CamelTrouble, a game written in perl/Tk. Myself, I am still having troubles with the Tk modules and I don't understand why. My perl skills are advanced enough that I shouldn't have such problems. I posted a reply to the thread stating that I could probably relearn my long forgotten skills of MS QuickBasic and program more or less the same game before I could learn to do it in perl/Tk.
Well, I decided to see how right I was by saying that! And so, lo and behold, I created quite a similar game in QuickBasic. The code is pretty ugly in areas, the game functionality isn't 100% identical as mawe's version, but it works great (for me). I even made the walls high enough so that the camel can't jump over them :P.
Since I saved the graphics in separate files (those darn DATA statements were too ugly so I decided to export them separately), just posting the source code won't do. So below you will find an external link from which you can download the zipped version. It comes with a simple readme file, the necessary graphic files, the QBASIC source code (.bas file), and a precompiled version of the source for those who do not have and do not wish to install QBASIC. Enjoy :)
Download QB CamelTrouble [ 46.7 KB (47,859 bytes) ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl/Tk vs QuickBasic :-)
by zentara (Cardinal) on Apr 10, 2004 at 15:31 UTC | |
|
Re: Perl/Tk vs QuickBasic :-)
by hossman (Prior) on Apr 10, 2004 at 20:50 UTC | |
|
Re: Perl/Tk vs QuickBasic :-)
by flyingmoose (Priest) on Apr 12, 2004 at 14:14 UTC |