Skip to content

Commit

Permalink
Merge pull request barbarer#168 from xinyinghou/master
Browse files Browse the repository at this point in the history
Updated materials based on feedback from the pilot testing
  • Loading branch information
barbarer authored Sep 4, 2024
2 parents d7bce4e + dabaf00 commit f2f5789
Show file tree
Hide file tree
Showing 22 changed files with 156 additions and 100 deletions.
6 changes: 3 additions & 3 deletions _sources/turtles/SE_turtle/pp-intro-SE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ The clicable area are those with a dark gray background and a border around them
You will then receive a completed explanatoin of the solution you got from solving the mixed-up puzzle.


.. image:: https://i.postimg.cc/DvVqXB8F/SE-introduction.png
:width: 450
.. image:: https://i.postimg.cc/SmDGs7mZ/SE-introduction.png
:width: 600
:align: center

Four types of feedback will be provided for each option you select.
Expand Down Expand Up @@ -150,4 +150,4 @@ What to do next
a.href = "pps-SE-pp1.html"
};
</script>
</script>
4 changes: 3 additions & 1 deletion _sources/turtles/SE_turtle/pps-IE-pp1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Practice Problems
:numbered: left
:adaptive:

Create a function called ``create_T`` that takes in ``turtle`` as a parameter and moves the turtle to create the letter T.
Create a function called ``create_T`` that takes in ``turtle_obj`` as a parameter and moves the turtle to create the letter T.
The width of the letter should be 100, and the height of the letter should be 150.
-----
from turtle import *
Expand All @@ -30,6 +30,8 @@ Practice Problems
turtle_obj.forward(height)


What to do next
^^^^^^^^^^^^^^^

.. raw:: html

Expand Down
9 changes: 8 additions & 1 deletion _sources/turtles/SE_turtle/pps-IE-pp2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ Practice Problems
def create_hexagon(turtle):
=====
for i in range(0, 6):
=====
turtle.forward(50)
=====
for i in range(0, 6):
turtle = turtle.forward(50) #paired
=====
for i in range(0, 7):
turtle = turtle.forward(50) #paired
=====
turtle.left(60)
Expand All @@ -27,6 +30,10 @@ Practice Problems
=====
create_hexagon(alex)


What to do next
^^^^^^^^^^^^^^^

.. raw:: html

<p>Click on the following link to go to the explanation: <a id="ie2" href="pps-ie2.html"><font size="+1"><b>Explanation</b></font></a></p>
Expand Down
2 changes: 2 additions & 0 deletions _sources/turtles/SE_turtle/pps-IE-pp3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Practice Problems
draw_triangle(alex, 50, ["blue", "green", "yellow"])


What to do next
^^^^^^^^^^^^^^^

.. raw:: html

Expand Down
3 changes: 3 additions & 0 deletions _sources/turtles/SE_turtle/pps-IE-pp4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ Practice Problems
create_rectangle(alex)


What to do next
^^^^^^^^^^^^^^^


.. raw:: html

Expand Down
5 changes: 4 additions & 1 deletion _sources/turtles/SE_turtle/pps-PP-1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Practice Problems
:numbered: left
:adaptive:

Create a function called ``create_T`` that takes in ``turtle`` as a parameter and moves the turtle to create the letter T.
Create a function called ``create_T`` that takes in ``turtle_obj`` as a parameter and moves the turtle to create the letter T.
The width of the letter should be 100, and the height of the letter should be 150.
-----
from turtle import *
Expand All @@ -31,6 +31,9 @@ Practice Problems



What to do next
^^^^^^^^^^^^^^^

.. raw:: html

<p>Click on the following link to go to the next puzzle: <a id="pp-2" href="pps-PP-2.html"><font size="+1"><b>Mixed-up Puzzle 2</b></font></a></p>
Expand Down
17 changes: 12 additions & 5 deletions _sources/turtles/SE_turtle/pps-PP-2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,29 @@ Practice Problems
space = Screen()
alex = Turtle()
=====
def create_hexagon(turtle_obj):
def create_hexagon(turtle):
=====
for i in range(0, 6):
turtle.forward(50)
=====
for i in range(0, 7): #paired
for i in range(0, 6):
turtle = turtle.forward(50) #paired
=====
turtle_obj.forward(50)
for i in range(0, 7):
turtle = turtle.forward(50) #paired
=====
turtle_obj = turtle_obj.forward(50) #paired
turtle.left(60)
=====
turtle_obj.left(60)
turtle = turtle.left(60) #paired
=====
create_hexagon(alex)



What to do next
^^^^^^^^^^^^^^^


.. raw:: html

<p>Click on the following link to go to the explanation question: <a id="pp-3" href="pps-PP-3.html"><font size="+1"><b>Mixed-up Puzzle 3</b></font></a></p>
Expand Down
2 changes: 2 additions & 0 deletions _sources/turtles/SE_turtle/pps-PP-3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Practice Problems
draw_triangle(alex, 50, ["blue", "green", "yellow"])


What to do next
^^^^^^^^^^^^^^^

.. raw:: html

Expand Down
2 changes: 2 additions & 0 deletions _sources/turtles/SE_turtle/pps-PP-4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Practice Problems
create_rectangle(alex)


What to do next
^^^^^^^^^^^^^^^

.. raw:: html

Expand Down
5 changes: 3 additions & 2 deletions _sources/turtles/SE_turtle/pps-SE-pp1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Practice Problems
:numbered: left
:adaptive:

Create a function called ``create_T`` that takes in ``turtle`` as a parameter and moves the turtle to create the letter T.
Create a function called ``create_T`` that takes in ``turtle_obj`` as a parameter and moves the turtle to create the letter T.
The width of the letter should be 100, and the height of the letter should be 150.
-----
from turtle import *
Expand All @@ -30,7 +30,8 @@ Practice Problems
turtle_obj.forward(height)



What to do next
^^^^^^^^^^^^^^^

.. raw:: html

Expand Down
10 changes: 9 additions & 1 deletion _sources/turtles/SE_turtle/pps-SE-pp2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ Practice Problems
def create_hexagon(turtle):
=====
for i in range(0, 6):
=====
turtle.forward(50)
=====
for i in range(0, 6):
turtle = turtle.forward(50) #paired
=====
for i in range(0, 7):
turtle = turtle.forward(50) #paired
=====
turtle.left(60)
Expand All @@ -27,6 +30,11 @@ Practice Problems
=====
create_hexagon(alex)



What to do next
^^^^^^^^^^^^^^^

.. raw:: html

<p>Click on the following link to go to the explanation question: <a id="pp-e2" href="pps-ppe2.html"><font size="+1"><b>Explanation Question</b></font></a></p>
Expand Down
2 changes: 2 additions & 0 deletions _sources/turtles/SE_turtle/pps-SE-pp3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Practice Problems
draw_triangle(alex, 50, ["blue", "green", "yellow"])


What to do next
^^^^^^^^^^^^^^^

.. raw:: html

Expand Down
3 changes: 3 additions & 0 deletions _sources/turtles/SE_turtle/pps-SE-pp4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ Practice Problems



What to do next
^^^^^^^^^^^^^^^

.. raw:: html

<p>Click on the following link to go to the explanation question: <a id="pp-e4" href="pps-ppe4.html"><font size="+1"><b>Explanation Question</b></font></a></p>
Expand Down
6 changes: 5 additions & 1 deletion _sources/turtles/SE_turtle/pps-ie1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Here is an explanation for the completed puzzle
(5) <b>turtle_obj.penup() -- Lift Pen</b>
Use .penup() to lift the turtle's pen to move it without drawing.
(6) <b>turtle_obj.goto(-width / 2, height / 2) -- Move to Start Position</b>
Moves the turtle to the starting position at the top-left part of the T.
Moves the turtle to the starting position at the top-left part of the T, which is the point (-50, 75).
-width / 2: Moves the turtle half the width to the left of the origin (center of the screen). This ensures the horizontal line of the T is centered horizontally.
This ensures the horizontal line of the T is centered horizontally.
height / 2: Moves the turtle to half the height upwards from the origin.
Expand All @@ -40,6 +40,10 @@ Here is an explanation for the completed puzzle
(11) <b>turtle_obj.forward(height) -- Draw Vertical Line</b>
Moves the turtle forward by the value of height to draw the vertical line of the T.


What to do next
^^^^^^^^^^^^^^^

.. raw:: html

<p>Click on the following link to finish the next puzzle: <a id="pp2" href="pps-IE-pp2.html"><font size="+1"><b>Mixed-up Puzzle 2</b></font></a></p>
Expand Down
3 changes: 3 additions & 0 deletions _sources/turtles/SE_turtle/pps-ie2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ Here is an explanation for the completed puzzle
(8) <b>create_hexagon(alex) -- Call Hexagon Function</b>
Calls the create_hexagon function, passing the Turtle object alex as an argument. This initiates the drawing of the hexagon.

What to do next
^^^^^^^^^^^^^^^


.. raw:: html

Expand Down
3 changes: 3 additions & 0 deletions _sources/turtles/SE_turtle/pps-ie3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ Here is an explanation for the completed puzzle
Calls the draw_triangle function with the specified turtle object, side length, and list of colors to draw an equilateral triangle.


What to do next
^^^^^^^^^^^^^^^

.. raw:: html

<p>Click on the following link to finish the next puzzle: <a id="pp4" href="pps-IE-pp4.html"><font size="+1"><b>Mixed-up Puzzle 4</b></font></a></p>
Expand Down
2 changes: 2 additions & 0 deletions _sources/turtles/SE_turtle/pps-ie4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Here is an explanation for the completed puzzle
Calls the create_rectangle function after creating it with the specified turtle object alex to draw a rectangle.


What to do next
^^^^^^^^^^^^^^^

.. raw:: html

Expand Down
Loading

0 comments on commit f2f5789

Please sign in to comment.