diff options
author | Michael Stone <michael@laptop.org> | 2011-01-07 23:26:17 (GMT) |
---|---|---|
committer | Michael Stone <michael@laptop.org> | 2011-01-08 01:19:10 (GMT) |
commit | 0e41c939ae6f10c3f683d1089acb942bdb425ee8 (patch) | |
tree | 181b5c5a6998433f67a032454d51860a8692cfa4 | |
parent | e5ef28d21d6f607f07d21ff6ecd18fdc9b849a5c (diff) |
Simplify the displayed puzzle labels.
With long labels, we run out of space. With short labels, we can fit in lots of
different kinds of puzzles!
-rw-r--r-- | arithmetic.py | 6 | ||||
-rw-r--r-- | puzzles/00_addition.py | 2 | ||||
-rw-r--r-- | puzzles/25_subtraction.py | 2 | ||||
-rw-r--r-- | puzzles/50_multiplication.py | 2 | ||||
-rw-r--r-- | puzzles/75_division.py | 2 | ||||
-rw-r--r-- | puzzles/90_modular_addition.py | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/arithmetic.py b/arithmetic.py index 6608c6f..7974c0c 100644 --- a/arithmetic.py +++ b/arithmetic.py @@ -150,9 +150,9 @@ class ArithmeticActivity(groupthink.sugar_tools.GroupActivity): self.countdownlabel = gtk.Label("Time until next question: ") # ToggleButtons for difficulty - self.cloud.easytoggle = groupthink.gtk_tools.SharedToggleButton("Easy") - self.cloud.mediumtoggle = groupthink.gtk_tools.SharedToggleButton("Medium") - self.cloud.hardtoggle = groupthink.gtk_tools.SharedToggleButton("Hard") + self.cloud.easytoggle = groupthink.gtk_tools.SharedToggleButton("< 10") + self.cloud.mediumtoggle = groupthink.gtk_tools.SharedToggleButton("< 20") + self.cloud.hardtoggle = groupthink.gtk_tools.SharedToggleButton("< 50") self.cloud.easytoggle.set_active(False) self.cloud.mediumtoggle.set_active(False) diff --git a/puzzles/00_addition.py b/puzzles/00_addition.py index 0a65e43..bbc0c62 100644 --- a/puzzles/00_addition.py +++ b/puzzles/00_addition.py @@ -1,5 +1,5 @@ -name = "Addition" +name = "+" def get_problem(self, difficulty): x = self.generate_number(difficulty) diff --git a/puzzles/25_subtraction.py b/puzzles/25_subtraction.py index 8d92360..f35a823 100644 --- a/puzzles/25_subtraction.py +++ b/puzzles/25_subtraction.py @@ -1,4 +1,4 @@ -name = "Subtraction" +name = "-" def get_problem(self, difficulty): x = self.generate_number(difficulty) diff --git a/puzzles/50_multiplication.py b/puzzles/50_multiplication.py index 0ba1f70..eb5c124 100644 --- a/puzzles/50_multiplication.py +++ b/puzzles/50_multiplication.py @@ -1,4 +1,4 @@ -name = "Multiplication" +name = "x" def get_problem(self, difficulty): x = self.generate_number(difficulty) diff --git a/puzzles/75_division.py b/puzzles/75_division.py index 12a4fae..fd6de5b 100644 --- a/puzzles/75_division.py +++ b/puzzles/75_division.py @@ -1,4 +1,4 @@ -name = "Division" +name = "/" def get_problem(self, difficulty): import math diff --git a/puzzles/90_modular_addition.py b/puzzles/90_modular_addition.py index f133d31..2f9f9e5 100644 --- a/puzzles/90_modular_addition.py +++ b/puzzles/90_modular_addition.py @@ -1,4 +1,4 @@ -name = "Modular Addition" +name = "%" def get_problem(self, difficulty): x = self.generate_number(difficulty) |