[plt-scheme] [ann] Backgammon

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Fri May 14 11:24:53 EDT 2010

I just released a distributed Backgammon game and server on planet.  I'm 
sure it's still rough around the edges, but you might try it out if you 
like to play.

http://planet.plt-scheme.org/display.ss?package=backgammon.plt&owner=dvanhorn

For a quick start, you can either play in singles mode (you control the 
board for the entire game):

    #lang scheme
    (require (planet dvanhorn/backgammon))
    (serve-singles)
    (play "Me")

Or doubles mode (play alternates between two players):

    #lang scheme
    (require (planet dvanhorn/backgammon)
             2htdp/universe)
    (serve-couples)
    (launch-many-worlds (play "Me") (play "You"))

If you want the players and server to run on different machines, see the 
documentation (it's easy).

David


Posted on the users mailing list.