Source

planetwars_test_tools /

Filename Size Date modified Message
stuff
6.2 KB
1.0 KB
1.0 KB
11.4 KB
1.6 KB
1.9 KB
2.4 KB
1.1 KB
5.4 KB
-- THIS CODE IS BUGGY.  SOME OF THE BUGS ARE UNINTENDED.


To play a game, use playgame.py



This stuff is all hacked together for now.  Please feel free to do what you want
with it.  But be warned, it might kill kittens if used incorrectly.

Eventually, I would like this to be a framework for playing text / turn based
games like Waterloo has been using for the Google AI Challenges.

Some things I would like to work:


 - command line tool for running local games
 - tcp client for dhartmei's server
 - a p2p client, to play fairly person to person without a trusted
   third party (using http://en.wikipedia.org/wiki/Commitment_scheme
   or something like it)
 - a tcp server, like dhartmei's, but less secure, and less reliable.  But,
   possibly for people to use to test with friends without compiling 
   C++ code

Right now, this stuff is all hacked together.  If there is an API, it is
completely unstable.  My goal is for all of the tools to be independent of the
game engine, so it is easy to swap in different games.