X-Git-Url: http://git.tremily.us/?p=pyrisk.git;a=blobdiff_plain;f=README;h=5cea697b8f49e57543301a2d9218dfeded7f36c2;hp=52696073143e945be9c61f623bf0d9c3ae37798e;hb=90fcb223c07ca6f2fc928a4746ec573db223f6e7;hpb=df78377855af19eac05acb6e4cbfe7b6d28c9c76 diff --git a/README b/README index 5269607..5cea697 100644 --- a/README +++ b/README @@ -17,11 +17,11 @@ Getting PyRisk PyRisk is available as a Git repository:: - $ git clone http://www.physics.drexel.edu/~wking/code/git/pyrisk.git + $ git clone git://tremily.us/pyrisk.git The most recent commit is also available as a gzipped tarball at:: - http://www.physics.drexel.edu/~wking/code/tar/pyrisk.tgz + http://git.tremily.us/?p=pyrisk.git;a=snapshot;h=HEAD;sf=tgz Once you get the source, installation is via Docutils:: @@ -55,11 +55,13 @@ your game and go:: from pyrisk.base import generate_earth, Player, Engine from pyrisk.player.email import IncomingEmailDispatcher, \ OutgoingEmailDispatcher, EmailPlayer + from pyrisk.graphics import WorldRenderer world = generate_earth() ied = IncomingEmailDispatcher(fifo_path='/tmp/pyrisk.in') oed = OutgoingEmailDispatcher(return_address='server@example.com') - players = [EmailPlayer('Alice', 'alice@big.edu', ied, oed), - EmailPlayer('Bob', 'bob@fish.net', ied, oed), + wr = WorldRenderer() + players = [EmailPlayer('Alice', 'alice@big.edu', ied, oed, wr), + EmailPlayer('Bob', 'bob@fish.net', ied, oed, wr), Player('Charlie')] e = Engine(world, players) e.run()