[gbrainy/stable] Allow spaces between figures names when given the answer in figure puzzle



commit 1268c3167d493fc287c723fcf5e06a6bf9b94680
Author: Jordi Mas <jmas softcatala org>
Date:   Sat Mar 12 22:25:13 2011 +0100

    Allow spaces between figures names when given the answer in figure puzzle

 src/Games/Logic/PuzzleFigures.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/Games/Logic/PuzzleFigures.cs b/src/Games/Logic/PuzzleFigures.cs
index f86d901..8b1e1d2 100644
--- a/src/Games/Logic/PuzzleFigures.cs
+++ b/src/Games/Logic/PuzzleFigures.cs
@@ -52,6 +52,10 @@ namespace gbrainy.Games.Logic
 			}
 		}
 
+		public override GameAnswerCheckAttributes CheckAttributes {
+			get { return GameAnswerCheckAttributes.IgnoreCase | GameAnswerCheckAttributes.IgnoreSpaces; }
+		}
+
 		protected override void Initialize ()
 		{
 			random_indices = new ArrayListIndicesRandom (6);



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