[gcompris/gcomprixogoo] Increased the number of tries in hangman. It was too hard.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprixogoo] Increased the number of tries in hangman. It was too hard.
- Date: Sun, 17 Oct 2010 15:46:54 +0000 (UTC)
commit 34518e394246c3bdc157e0e7b1555c9295d67861
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Sun Oct 17 17:46:07 2010 +0200
Increased the number of tries in hangman. It was too hard.
src/goocanvas/src/goocanvasenumtypes.c | 4 ++--
src/goocanvas/src/goocanvasenumtypes.h | 4 ++--
src/hangman-activity/hangman.py | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/goocanvas/src/goocanvasenumtypes.c b/src/goocanvas/src/goocanvasenumtypes.c
index 7c35055..7b64fc8 100644
--- a/src/goocanvas/src/goocanvasenumtypes.c
+++ b/src/goocanvas/src/goocanvasenumtypes.c
@@ -1,5 +1,5 @@
-
+/* Generated data (by glib-mkenums) */
#include <glib-object.h>
#include "goocanvas.h"
@@ -91,5 +91,5 @@ goo_canvas_path_command_type_get_type (void)
return etype;
}
-
+/* Generated data ends here */
diff --git a/src/goocanvas/src/goocanvasenumtypes.h b/src/goocanvas/src/goocanvasenumtypes.h
index 0883f73..ef0ccee 100644
--- a/src/goocanvas/src/goocanvasenumtypes.h
+++ b/src/goocanvas/src/goocanvasenumtypes.h
@@ -1,5 +1,5 @@
-
+/* Generated data (by glib-mkenums) */
#ifndef __GOO_CANVAS_ENUM_TYPES_H__
#define __GOO_CANVAS_ENUM_TYPES_H__
@@ -29,5 +29,5 @@ G_END_DECLS
#endif /* __GOO_CANVAS_ENUM_TYPES_H__ */
-
+/* Generated data ends here */
diff --git a/src/hangman-activity/hangman.py b/src/hangman-activity/hangman.py
index 9304362..1474b97 100644
--- a/src/hangman-activity/hangman.py
+++ b/src/hangman-activity/hangman.py
@@ -210,7 +210,7 @@ class Gcompris_hangman:
def display_level(self):
w = 40
# Less trial when the level increases
- self.trial = 9 - (self.gcomprisBoard.level - 1) / self.wordlist.number_of_level
+ self.trial = 12 - (self.gcomprisBoard.level - 1) / self.wordlist.number_of_level
gcompris.bar_set_level(self.gcomprisBoard);
gcompris.score.start(gcompris.score.STYLE_NOTE,
gcompris.BOARD_WIDTH / 2 - 100, 170, self.trial)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]