For anyone who is interested, I have released the source code for Duelgame40 to a few authors who wish to expand on it and add it to their mods.
http://www.proasm.com/files/Duelgame40_src.zip
http://www.proasm.com/files/Duelgame40_src.zip