INTRODUCTION
Pytego is a two-player, cross-platform, networked clone of the classic boardgame "Stratego" from Milton Bradley.
It is developed using Python, PyGame and SDL.
As this is an early release, there are still some niceties missing and bugs may exist. Enjoy it and please submit any comments, suggestions, requests and/or bugs to:
Also, as you can see, I'm not an artist, if you have backgrounds, tiles, graphics for the units or anything else, please send them my way!
INSTALLATION
No installation necessary. Just make sure "pytego.py" and "pytego-server.py" are executable:
Under *nix:
$ chmod +x pytego.py
$ chmod +x pytego-server.py
RUNNING PYTEGO
To play Pytego, simply run "./pytego.py" from its directory. If you are not using the stand-alone server, "pytego-server.py", then one player will need to run as a server (with the "-s" or "--server" option). That player must start his or her copy of Pytego first. To connect to a server other than "localhost", use the "-H <server>" option. Currently, Pytego doesn't check to make sure opposing sides have been choosen properly, so it's up to the players to make sure they choose opposing sides. The default is 'red', so one player must use "-C blue" to run as 'blue'. This will be fixed in the future. Just as in the boardgame, 'red' goes first.
Please note that the default resolution is 1024x768. Currently, that is what makes the pieces look best. The resolutions 640x480, 800x600 and 1280x1024 are also supported. To change the resolution use "-r" or "--resolution" option. Full screen is also available. It can be enabled with "-f" or "--fullscreen" and can be combined with the resolution option.
Please use the "-h" or "--help" option to get more details.
RUNNING PYTEGO-SERVER
Pytego comes with a standalone server, "pytego-server.py". This can be used to if both players are behind a firewall, but have access to machine over the internet. To run the standalone server, simply run "pytego-server.py" from its directory. Pytego-server will wait for two players to connect, then quit once both players have disconnected. To connect to a pytego-server instance, just run pytego and use the "-H <server>" option. More functionality will be added in the future, such as making this a "dedicated" server.
Like Pytego itself, Pytego-server's default port is "9998".
Please use the "-h" or "--help" option to get more details.
PLAYING PYTEGO
Pytego is just like "Stratego". The basic rules apply (Rules variations will be added in the future, see TODO). After Pytego has started, place all 40 of your pieces on the gameboard by clicking a unit in the "box", then clicking anywhere on the map. Each player is limited to their respective "deployment zone": 'red' has the bottom four rows, 'blue' the top four. Once all of your pieces have been placed, hit SPACE to signal that you are ready. After bother players have indicated they are ready, 'red' moves first. To move, click a piece, then click any square. If that square is not occupied and it is a valid move (i.e. adjacent and not impassable terrain), your piece will move and your turn will be over. To strike, simply select your piece, then selec the piece you wish to strike. The loser will disappear and the player status area (aka reverse-"graveyard") will be updated.
LICENSE
Pytego is licensed under the GPL, see LICENSE for details. "Stratego" is registered trademark/copyright/etc. of "Milton Bradley/Hasbro"
ACKNOWLEDGEMENTS
I'd like to thank the Civil (http://civil.sf.net) Developers for a cool game that inspired me to try out Pygame. I also want to thank them for their Connection and ConnectionPollerThread classes which I gratuitously borrowed for my game -- they made things SO much easier. Check out Civil, it's terrific.
HOMEPAGE
The official Pytego homepage:
CONTACT
Author: Ralph M. Churchill<mrchucho@yahoo.com>
$Id: README,v 1.6 2003/06/20 17:54:37 churchil Exp $
