[Pybem-developers] boojum
Brought to you by:
abriggs
From: Adrian S. <fo...@ii...> - 2002-06-16 22:54:23
|
Ant, I reinstalled cygwin on my laptop and it's all cool, I can ssh to sourceforge, and cvs out the code. Read through all the boojum files, and created a game, though it crashed when I tried to 'trample nw'. I must admit I haven't gone through the UML yet, but as you say it's pretty simple so far and makes sense. Haven't thought about it too much to comment on the code, but some random thoughts: * could make it a bit more OO, everything should be in a class * could set some constants * could load all the config from a file (World.loadConfig) * maybe jot down some sort of coding standards, like how to name files / functions / variables? I've been using Java style lately, eg. World.loadConfig() where the function has first word no-caps, other words caps. I think either that or using underscores is more readable than running them together (eg. World.loadconfiganddosomethingrandom) * big thought - we should try to support TWO of everything, from the outset. ie. two different game worlds, with different attributes, orders, coordinate system, output display(?) Basically, for everything that we plan to make customisable, we should start off supporting two versions of that option, to force us to generalise. What do you think? Adrian |