Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion worksheets/04-challenge-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Fancy another? [More Challenges](05-more-challenges.md)
11 changes: 0 additions & 11 deletions worksheets/05-challenge-letters.md

This file was deleted.

9 changes: 9 additions & 0 deletions worksheets/05-more-challenges.md
Original file line number Diff line number Diff line change
@@ -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)
20 changes: 20 additions & 0 deletions worksheets/06-challenge-fireworks.md
Original file line number Diff line number Diff line change
@@ -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)
17 changes: 17 additions & 0 deletions worksheets/07-challenge-golf.md
Original file line number Diff line number Diff line change
@@ -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)
15 changes: 15 additions & 0 deletions worksheets/08-challenge-flags.md
Original file line number Diff line number Diff line change
@@ -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)
19 changes: 19 additions & 0 deletions worksheets/09-challenge-race.md
Original file line number Diff line number Diff line change
@@ -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)
13 changes: 13 additions & 0 deletions worksheets/10-challenge-letters.md
Original file line number Diff line number Diff line change
@@ -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)