diff --git a/__pycache__/algebraic_steps.cpython-313.pyc b/__pycache__/algebraic_steps.cpython-313.pyc
index b02f8cd..d4df446 100644
Binary files a/__pycache__/algebraic_steps.cpython-313.pyc and b/__pycache__/algebraic_steps.cpython-313.pyc differ
diff --git a/__pycache__/main.cpython-313.pyc b/__pycache__/main.cpython-313.pyc
index 5d3abc5..77817b7 100644
Binary files a/__pycache__/main.cpython-313.pyc and b/__pycache__/main.cpython-313.pyc differ
diff --git a/algebraic_steps.py b/algebraic_steps.py
index 82d0c5e..85553de 100644
--- a/algebraic_steps.py
+++ b/algebraic_steps.py
@@ -24,6 +24,8 @@ def move_all_to_one_side(equation):
step["after"] = new_expr
step["step"] = f"Subtract {sstr(clean(right_expr))} from both sides"
+ step["left"] = f"-{sstr(clean(right_expr))}"
+ step["right"] = f"-{sstr(clean(right_expr))}"
step["rule"] = "Subtraction Property of Equality"
return step
@@ -43,6 +45,8 @@ def add_both_sides(equation, value):
step["after"] = f"{sstr(new_left_expr)} = {sstr(new_right_expr)}"
step["step"] = f"Add {sstr(value)} to both sides"
+ step["left"] = f"+{sstr(value)}"
+ step["right"] = f"+{sstr(value)}"
step["rule"] = "Addition Property of Equality"
return step
@@ -62,6 +66,8 @@ def subtract_both_sides(equation, value):
step["after"] = f"{sstr(new_left_expr)} = {sstr(new_right_expr)}"
step["step"] = f"Subtract {sstr(value)} from both sides"
+ step["left"] = f"-{sstr(value)}"
+ step["right"] = f"-{sstr(value)}"
step["rule"] = "Subtraction Property of Equality"
return step
@@ -81,6 +87,8 @@ def divide_both_sides(equation, value):
step["after"] = f"{sstr(new_left_expr)} = {sstr(new_right_expr)}"
step["step"] = f"Divide both sides by {sstr(value)}"
+ step["left"] = f"÷{sstr(value)}"
+ step["right] = f"÷{sstr(value)}"
step["rule"] = "Division Property of Equality"
return step
@@ -119,6 +127,8 @@ def multiply_both_sides(equation, value):
step["after"] = f"{sstr(new_left_expr)} = {sstr(new_right_expr)}"
step["step"] = f"Multiply both sides by {sstr(value)}"
+ step["left"] = f"×{sstr(value)}"
+ step["right"] = f"×{sstr(value)}"
step["rule"] = "Multiplication Property of Equality"
return step
diff --git a/main.py b/main.py
index 3fe46c1..c4181aa 100644
--- a/main.py
+++ b/main.py
@@ -68,7 +68,7 @@ def generate_problem_message():
return problem
def get_time_for_problem(problem):
- return 30
+ return 10
def main():
problem_solved = False
diff --git a/www/index.html b/www/index.html
index 58f1757..84d3b94 100644
--- a/www/index.html
+++ b/www/index.html
@@ -10,20 +10,20 @@
-
+
-