[gbrainy] Small fixes
- From: Jordi Mas <jmas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gbrainy] Small fixes
- Date: Wed, 21 Oct 2009 20:01:35 +0000 (UTC)
commit 1f6ed13290cf38b048f28e25e2448fe049306590
Author: Jordi Mas <jmas softcatala org>
Date: Wed Oct 21 22:02:03 2009 +0200
Small fixes
src/Game.cs | 6 ------
src/PuzzleGames/PuzzleEquation.cs | 2 +-
2 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/Game.cs b/src/Game.cs
index 4f91948..611d79e 100644
--- a/src/Game.cs
+++ b/src/Game.cs
@@ -49,7 +49,6 @@ abstract public class Game
private bool won;
private bool tip_used;
private Difficulty difficulty;
- private bool trace_score = false; // Set to true to debug scoring
protected Game ()
{
@@ -220,11 +219,6 @@ abstract public class Game
}
}
- if (trace_score) {
- Console.WriteLine ("Score for game {0} is {1}. Used tip {2}, time used {3}, time expected {4}",
- this, (int) score, tip_used, seconds, AverageTime);
- }
-
return (int) score;
}
}
diff --git a/src/PuzzleGames/PuzzleEquation.cs b/src/PuzzleGames/PuzzleEquation.cs
index fc43fa2..16973a1 100644
--- a/src/PuzzleGames/PuzzleEquation.cs
+++ b/src/PuzzleGames/PuzzleEquation.cs
@@ -60,7 +60,7 @@ public class PuzzleEquation : Game
found = true;
}
- formula = String.Format ("{0} * {1} + {2} * {3} - {4} = ?", num_a, num_b, num_c, num_d, num_e);
+ formula = String.Format ("{0} * {1} + {2} * {3} - {4} = ?", num_a, num_b, num_c, num_d, num_e);
right_answer = (order).ToString ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]