diff --git a/README.md b/README.md index 278e7c7..1b439ee 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,4 @@ A short course designed for LiveWires to teach basics of Python and Turtle. - [Turtle](./worksheets/02-turtle.md) - [Challenge - Polygons](./worksheets/03-challenge-polygons.md) - [Challenge - Events](./worksheets/04-challenge-events.md) -- [Challenge - Letters](./worksheets/05-challenge-letters.md) +- [More Challenges](./worksheets/05-more-challenges.md) diff --git a/worksheets/04-challenge-events.md b/worksheets/04-challenge-events.md index a1f9d13..5d3c6aa 100644 --- a/worksheets/04-challenge-events.md +++ b/worksheets/04-challenge-events.md @@ -80,4 +80,4 @@ Create a new script (called `KeyboardTurtle.py`for example) that will allow the ## Next -Fancy another? [Challenge - Letters](05-challenge-letters.md) \ No newline at end of file +Fancy another? [More Challenges](05-more-challenges.md) diff --git a/worksheets/05-challenge-letters.md b/worksheets/05-challenge-letters.md deleted file mode 100644 index 755b2d7..0000000 --- a/worksheets/05-challenge-letters.md +++ /dev/null @@ -1,11 +0,0 @@ -# Challenge - Letters - -Time for another challenge! You don't have to use Turtle to draw shapes, you can use it to draw anything you like. - -## The challenge - -Create a new script called `Letters.py` that uses Turtle to draw your name. - -## Extension - -Can you get Turtle to draw any word that the user inputs? \ No newline at end of file diff --git a/worksheets/05-more-challenges.md b/worksheets/05-more-challenges.md new file mode 100644 index 0000000..eb72521 --- /dev/null +++ b/worksheets/05-more-challenges.md @@ -0,0 +1,9 @@ +# More challenges + +Finished the first two challenges? Why not pick another to try? + +- [Challenge - Fireworks](06-challenge-fireworks.md) +- [Challenge - Golf](07-challenge-golf.md) +- [Challenge - Flags](08-challenge-flags.md) +- [Challenge - Race](09-challenge-race.md) +- [Challenge - Letters](10-challenge-letters.md) diff --git a/worksheets/06-challenge-fireworks.md b/worksheets/06-challenge-fireworks.md new file mode 100644 index 0000000..36bc0de --- /dev/null +++ b/worksheets/06-challenge-fireworks.md @@ -0,0 +1,20 @@ +# Challenge - Fireworks + +## The challenge +Create a new script called `Fireworks.py` that uses Turtle to create a fireworks display! + +Each firework could: +- be a random size +- in a random location +- in a random colour +- disappear after a short amount of time + +Hint: you can draw fireworks as lines coming out from a central point. + +## Extension + +Using what you learnt on the [Events challenge](04-challenge-events.md), could you make the fireworks be drawn where the user clicks? + +## Next + +Fancy another? [More Challenges](05-more-challenges.md) diff --git a/worksheets/07-challenge-golf.md b/worksheets/07-challenge-golf.md new file mode 100644 index 0000000..70c7987 --- /dev/null +++ b/worksheets/07-challenge-golf.md @@ -0,0 +1,17 @@ +# Challenge - Golf + +## The challenge + +Create a new script called `Golf.py` that allows the user to play a game of golf with Turtle! + +There should be a starting point of the Turtle and a hole. The user should then enter a distance and angle. The Turtle will then turn that angle and go the distance. If the Turtle ends up in the hole then the user wins! + +## Extension + +- Can you make it so the hole and the starting position are random and so change each time the game is played? +- Can you add multiple rounds so when the Turtle reaches the hole a new round is started? +- Can you keep tract of how many 'hits' it took to get to the hole each round to give the player a score? + +## Next + +Fancy another? [More Challenges](05-more-challenges.md) diff --git a/worksheets/08-challenge-flags.md b/worksheets/08-challenge-flags.md new file mode 100644 index 0000000..b27ff9c --- /dev/null +++ b/worksheets/08-challenge-flags.md @@ -0,0 +1,15 @@ +# Challenge - Flags + +## The challenge + +Create a script that uses Turtle to draw countries flags. + +A good starting flag example is France, Italy or Germany. + +## Extension + +Can you make it into a game where Turtle draws a flag and then user has the guess what country it is? If they get it right, they can move on to the next flag. + +## Next + +Fancy another? [More Challenges](05-more-challenges.md) diff --git a/worksheets/09-challenge-race.md b/worksheets/09-challenge-race.md new file mode 100644 index 0000000..a041a50 --- /dev/null +++ b/worksheets/09-challenge-race.md @@ -0,0 +1,19 @@ +# Challenge - Race + +## The challenge + +Create a script that races Turtles against each other. + +You could do this by each turn, a turtle goes a random distance forwards and the first to the edge of the screen wins. + +## Extension + +- To add more excitement, every few turns a turtle could go backwards or a bigger distance forwards +- Run the race multiple times and keep track of how many times each turtle wins +- Draw a finish line on the screen +- Draw lanes on the screen +- Start the race when a key is pressed on the keyboard + +## Next + +Fancy another? [More Challenges](05-more-challenges.md) diff --git a/worksheets/10-challenge-letters.md b/worksheets/10-challenge-letters.md new file mode 100644 index 0000000..5a4489d --- /dev/null +++ b/worksheets/10-challenge-letters.md @@ -0,0 +1,13 @@ +# Challenge - Letters + +## The challenge + +Create a new script called `Letters.py` that uses Turtle to draw your name. + +## Extension + +Can you get Turtle to draw any word that the user inputs? + +## Next + +Fancy another? [More Challenges](05-more-challenges.md)