Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-05-24 01:31:29 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-05-24 01:31:29 (GMT)
commit5115e9f0266ccf5dbf82c2bf89cc16285dee0b96 (patch)
treebadd5836f5115e71821a73de4f6a1d6feabc7406
parentca6ad3199fe6c0bbbe8513d689d2157531a8033a (diff)
move score up
-rw-r--r--game.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/game.py b/game.py
index ea56434..d46bc97 100644
--- a/game.py
+++ b/game.py
@@ -43,7 +43,7 @@ LABELS = [_('Move the mouse to the Cuco.'),
_('Type the letters on the Cuco in word order.')]
ALERTS = [_('Press ENTER to confirm.'),
_('Press DELETE to delete text.')]
-ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
+ALPHABET = "ABCDEFGHJKLMNOPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz" # no I or l
MSGS = [_('Hello Cuco'), _('Cucos are not real.')]
NOISE_KEYS = ['Shift_L', 'Shift_R', 'Control_L', 'Caps_Lock', 'Pause',
'Alt_L', 'Alt_R', 'KP_Enter', 'ISO_Level3_Shift', 'KP_Divide',
@@ -223,7 +223,7 @@ class Game():
self.level = 0
self._all_clear()
x = int(self._width / 4.)
- y = int(self._height / 3.)
+ y = int(self._height / 4.)
for i in range(len(str(self.score))):
self._sticky_cards[i].move((x, y))
self._sticky_cards[i].set_layer(CUCO_LAYER)
@@ -306,7 +306,7 @@ class Game():
self._sticky_cards[i].type = 'cuco'
self._sticky_cards[i].set_layer(CUCO_LAYER)
self._sticky_cards[i].set_label(
- ALPHABET[int(uniform(26, len(ALPHABET)))])
+ ALPHABET[int(uniform(25, len(ALPHABET)))])
elif self.level == 5:
# Place some Cucos on the canvas with letters as labels
# Mixed case