[gbrainy] Prevent car game from showing 0% as options



commit e93f2c1af1b332cae1880002ffc7ec548ac90e20
Author: Jordi Mas <jmas softcatala org>
Date:   Mon Jun 6 22:49:39 2011 +0200

    Prevent car game from showing 0% as options

 data/games.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/games.xml b/data/games.xml
index a4628a4..434ce92 100644
--- a/data/games.xml
+++ b/data/games.xml
@@ -422,7 +422,7 @@
 		<answer_checkattributes>MultiOption | IgnoreSpaces</answer_checkattributes>
 		<variant>
 			<variables>
-				double all_cars =  30 + random.Next (4) * 10;
+				double all_cars =  40 + random.Next (4) * 10;
 				double males_cars = 10 + random.Next (3) * 10;
 				double female_cars = all_cars - males_cars;
 				double option_a = female_cars  / all_cars * 100;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]