123
124
set { draw_answer = value; }
127
// An initialized game cannot be playable (for example, missing external files)
128
public virtual bool IsPlayable {
126
132
public virtual double DrawAreaX {
127
133
get {return 0.1;}
217
Console.WriteLine ("Score for game {0} is {1}. Used tip {2}, time used {3}, time expected {4}",
218
this, (int) score, tip_used, seconds, AverageTime);
221
222
return (int) score;
230
231
switch (answer) {
231
232
// Translators Note
232
// The following serie of answers may need to be adapted
233
// The following series of answers may need to be adapted
233
234
// in cultures with alphabets different to the Latin one.
234
235
// The idea is to enumerate a sequence of possible answers
235
236
// For languages represented with the Latin alphabet use
236
237
// the same than English
237
case 0: // First possible answer for a serie (e.g.: Figure A)
238
case 0: // First possible answer for a series (e.g.: Figure A)
238
239
return Catalog.GetString ("A");
239
case 1: // Second possible answer for a serie
240
case 1: // Second possible answer for a series
240
241
return Catalog.GetString ("B");
241
case 2: // Third possible answer for a serie
242
case 2: // Third possible answer for a series
242
243
return Catalog.GetString ("C");
243
case 3: // Fourth possible answer for a serie
244
case 3: // Fourth possible answer for a series
244
245
return Catalog.GetString ("D");
245
case 4: // Fifth possible answer for a serie
246
case 4: // Fifth possible answer for a series
246
247
return Catalog.GetString ("E");
247
case 5: // Sixth possible answer for a serie
248
case 5: // Sixth possible answer for a series
248
249
return Catalog.GetString ("F");
249
case 6: // Seventh possible answer for a serie
250
case 6: // Seventh possible answer for a series
250
251
return Catalog.GetString ("G");
251
case 7: // Eighth possible answer for a serie
252
case 7: // Eighth possible answer for a series
252
253
return Catalog.GetString ("H");
254
255
return string.Empty;
298
// Type enum to string representation
299
static public string GetGameTypeDescription (Types type)
305
case Game.Types.LogicPuzzle:
306
str = Catalog.GetString ("Logic");
308
case Game.Types.MemoryTrainer:
309
str = Catalog.GetString ("Memory");
311
case Game.Types.MathTrainer:
312
str = Catalog.GetString ("Mental Calculation");
314
case Game.Types.VerbalAnalogy:
315
str = Catalog.GetString ("Verbal");