From a85c98f05cdf22065914272eb21e97cb8a344036 Mon Sep 17 00:00:00 2001
From: arun <arun@nubati.net>
Date: Sat, 24 Mar 2007 21:24:36 +0000
Subject: some missing html and some more comments

---
 index.php | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

(limited to 'index.php')

diff --git a/index.php b/index.php
index 302ec69..db219d1 100644
--- a/index.php
+++ b/index.php
@@ -535,8 +535,23 @@ else if(myisset("me"))
 	      DB_set_hand_status_by_hash($me,'play');
 	      break;
 	    case "poverty":
+	      /* figure out who has poverty */
+	      /* check who was asked already 
+	       *   everyone or trump was taken? 
+	       *      trump was taken, start game 
+	       *      trump was not taken, cancle game
+	       *
+	       *   not everyone, figure out who is next in the list
+	       *   is the next person this one?
+	       *      no, display wait message, e.g. player X is asked at the moment
+	       *      yes, display trump, ask if he wants to take it
+	       *        no, set player asked to true, email next player
+	       *        yes, display all cards, ask for N return cards
+	       *          set re/contra 
+	       *        
+	       */
 	    case "dpoverty":
-	      echo "TODO: handle poverty here";
+	      echo "TODO: handle double poverty here";
 	      DB_set_hand_status_by_hash($me,'play');
 	    };
 	}
-- 
cgit v1.2.3-18-g5258