gbrainy r511 - in trunk/src: . PuzzleGames
- From: jmas svn gnome org
- To: svn-commits-list gnome org
- Subject: gbrainy r511 - in trunk/src: . PuzzleGames
- Date: Sat, 14 Feb 2009 14:42:26 +0000 (UTC)
Author: jmas
Date: Sat Feb 14 14:42:26 2009
New Revision: 511
URL: http://svn.gnome.org/viewvc/gbrainy?rev=511&view=rev
Log:
2009-02-14 Jordi Mas <jmas softcatala org>
* PuzzleGames/PuzzleCounting.cs: Fix bug reported by Wolfgang Stoeggl
Modified:
trunk/src/ChangeLog
trunk/src/PuzzleGames/PuzzleCounting.cs
Modified: trunk/src/PuzzleGames/PuzzleCounting.cs
==============================================================================
--- trunk/src/PuzzleGames/PuzzleCounting.cs (original)
+++ trunk/src/PuzzleGames/PuzzleCounting.cs Sat Feb 14 14:42:26 2009
@@ -70,7 +70,7 @@
case (int) GameType.Fence:
total = 20 + random.Next (20);
- ans = total - 4;
+ ans = 4 * total - 4;
question = String.Format (
// Translators: {0} is always a number greater than 20
Catalog.GetString ("A fence is built to enclose a square shaped region. {0} fence poles are used in each side of the square. How many fence poles are used in total?"),
@@ -89,7 +89,7 @@
Catalog.GetString ("Wrapping an anniversary present costs one euro. The anniversary present costs {0} euros more than the cost to wrap it. How much does it cost to both purchase and wrap the present?"),
present);
answer = String.Format (
- Catalog.GetString ("Individually, the present costs one euro more to purchase than to wrap."), ans);
+ Catalog.GetString ("Individually, the present costs one euro more to purchase than to wrap."));
break;
default:
throw new Exception ("Unexpected value");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]