changeset 99:61e822e1ff00

Updated readme with better install instructions.
author Rene Dudfield <renesd@gmail.com>
date Sun, 08 Jul 2012 17:42:56 +0200
parents 8ce25533406d
children c8dab4eedc02
files README.rst zrpn/server.py
diffstat 2 files changed, 19 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/README.rst	Sun Jul 08 17:12:38 2012 +0200
+++ b/README.rst	Sun Jul 08 17:42:56 2012 +0200
@@ -23,8 +23,25 @@
 
 Need to get 5 in a row, and then that does all of them in one click.
 
+Each time you click you lose a point... unless you get a row or column.
 
-TODO: how to win, how to score.
+
+Install
+=======
+
+You will need python, and pygame installed first.
+
+
+Install the pyenet library first.
+	cd dependencies/pyenet
+	python setup.py install
+
+Then run the game.
+	python run_game.py
+
+To run the server.
+	cd zrpn
+	python server.py
 
 
 Dependencies
--- a/zrpn/server.py	Sun Jul 08 17:12:38 2012 +0200
+++ b/zrpn/server.py	Sun Jul 08 17:42:56 2012 +0200
@@ -41,6 +41,7 @@
             receiver.connection.net_score(self.scores[receiver], max_score)
 
     def on_connect(self):
+        #logging.debug("ClientReceiver.on_connect")
         self.connection.net_init(self.board.board, self.board.cells)
         self.scores[self] = 0
         print self.scores