AaronSDG
unread,Nov 25, 2009, 3:38:25 PM11/25/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to games.wtanaka.com
In my case the API was not designed. There were a few people with
games they wanted on the site, and I didn't have time to do it
myself. I ended up describing how I plugged new games in to my
system. Designed from the ground up, I think it would be much
simpler. (SDG was a very organic thing that just kinda happened.
There was not much forethought.)
The time to describe the interface wasn't too bad. It took about as
long as it would take to code a straightforward game (a couple of
hours). Designing, if done from the beginning, I don't think would
take any more time. The big thing I ran in to was my API was not
language agnostic. It was Perl or nothing. There were a couple of
other people that would have contributed if this was not the case. My
planned rewrite for SDG will include making the game modules
completely separate from the rest of the system and therefore language
agnostic. Public APIs of course bring in the security concerns as
well though.
To answer your question more directly, I would not rewrite SDG just to
fix the API. I'm not convinced there would be enough demand to
warrant the many hours it will take to rewrite all that code. For me
the issue is speed. The system is currently a memory hog and very
slow. That I need to somehow fix to remain viable. If I could find a
way that didn't include recoding, I would just let it stand.