Copy, paste, amend This is a starter activity and should take 5 minutes [ slide 1 ] 1.Log in to your computer 2.Open myEtchASketch.py in IDLE 3.Check you.

Slides:



Advertisements
Similar presentations
Monday 25 th October Save this file! Make sure it goes in your LEO folder. Make a new folder in your LEO folder – call it Toocool. Online conference
Advertisements

In the top left corner of the page, click on Pages & Files. Click on the If Then Statements folder to select it. Click New – Create a Page. You can also.
In the top right hand corner you will type in your package code in the box that says “Place Order.” Then you will click “Go.”
Downloading and Installing AutoCAD Architecture 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the software.
Sum Things Missing ! Let’s Play Sum Things Missing ! Rules: The Clue (dark box) is the Sum of the Digits (white boxes) Only use Digits 1 thru 9 (no 0)
AP World History Multiple Choice Exam.
Subtraction Using Pencil & Paper Methods
Addition Using Pencil & Paper Methods
Lesson 3 Text Basics Adapted From Source:
Equations & Brackets.. You are now going to solve more complex equations by combining together two ideas that you have seen already. Try the following.
How to add a Wevideo project to you Jimdo Homepage Frontier EMST.
Comparing Python and Visual Basic
Game Design Creating a game called PING Phase 3: Steps for building basic game.
Ga Ag Ed Curriculum Office, July 2001 To accompany the Georgia Agriculture Education Curriculum Go to Last Slide for Directions.
Hints Make sure you delete this red text boxes Use the basic layout of this Power Point Change colors/format to meet your needs and style You will need.
PowerPoint 1 The Basics 1. Save this file to your Apps Folder as YourLastName_PP1 2. Read each slide. 3. Complete each set of numbered directions.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
What is Museum Box? A Museum box is a way of presenting information that allows you to create a cube project that can be shared with others. You can use.
Programs, programs, everywhere! This is a starter activity and should take 5 minutes 1.Open up a text editor such as Notepad. 2.Write a list of all the.
Microsoft ® Office OneNote ® 2003 Training Get to know OneNote CGI presents:
By the end of this session you should be able to...
Type accurately challenge! This is a starter activity and should take 2 minutes [ slide 1 ] 1.Can you type out the code in Code Box 2.1 with no errors.
Make a blank window This is a starter activity and should take 5 minutes [ slide 1 ] 1.Log in to your computer 2.Open IDLE 3.In script mode create a file.
Agenda 8/20 1)Teacher Resource page (Steck Website under Technology) Teacher Resource pageTeacher Resource page 2)Outlook Calendar.
Electronic Notetaking Take your notes directly into the slide. Each slide reflects a different point or idea. You can copy and paste, or put the ideas.
4 th Grade Math: Adding Multi-digit Numbers NBT.B.4 Use place value understanding and properties of operations to perform multi-digit arithmetic. Table.
Lesson 4 Using Variables in Python – Creating a Simple ChatBot Program.
Fill the screen challenge! This is a starter activity and should take 3 minutes [ slide 1 ] 1.Log in to your computer 2.Open IDLE 3.In interactive mode,
Graphical User Interface You will be used to using programs that have a graphical user interface (GUI). So far you have been writing programs that have.
5th Grade Module 2 – Lesson 18
Resources MML. Course Structure Unit 1Number Theories Unit 2Sets Unit 3 Algebra Unit 4Graphs Unit 5The Metric System Unit 6Geometry Unit 7Probability.
Make a dice challenge! This is a starter activity and should take 5 minutes [ slide 1 ] 1.Log in to your computer 2.Open IDLE 3.Copy the code below in.
Using the Pythagorean Theorem Sarah Katko ICL 7062.
You should be in groups of two You will first learn a different method on graphing systems of inequalities The lesson will lead you on to graphing with.
Intro CS – Screens and Variables Lesson Plan 9. Goals  Using sprites as full screens (Start screen, Game over)  Using layering to control ordering of.
Starters ISF training 26/27 November If I know this what else do I know? Write on the board one fact (any operation). Students work in pairs or.
Coding Time This is a starter activity and should take about 10 minutes [ slide 1 ] 1.Log in to your computer 2.Open IDLE 3.Start a script session (Select.
SAGE TESTING HELPFUL HINTS Bring your ear buds if you have them. You’ll like yours better than ours. EVERYONE will have the test read to them (by the computer,
Jigsaw Counting A Counting Game 1-5 Instructions In each slide there is puzzle pieces for you to count. There four answers to pick from. Choose the correct.
Differentiation Aims: To practice the ideas of differentiation introduced last lesson.
Small Ball Passing [How to use: click on “Slide Show” above. Next click on “From Beginning.” Finally use the "page up" and "page down" key on your keyboard.]
Students will go to In the top right hand corner the student will type in their package code in the box that says “Place.
“Successful Uses of HTML Computer Code” Shannon Harwell.
Counting Change By: Hannah Leigh Reagan. Instructions: This assignment is an interactive quiz. Each slide will have a question and multiple-choice answers.
Copy DVD Movie to Blank DVD Disc From:
For Loop GCSE Computer Science – Python. For Loop The for loop iterates over the items in a sequence, which can be a string or a list (we will discuss.
Delete text box once you have finished this: Describe what objects you might use. Explain why they are suitable for your chosen theme. Add the images.
Make a function This is a starter activity and should take 5 minutes [ slide 1 ] >>> def count(number): n=1 while n
Engagement eJournal This template will help you create your Engagement eJournal. An eJournal is an electronic (computer, paperless) version of a journal.
Create Your Own Quiz using_Python KS3 COMPUTING KS3 Computing
LESSONS 13, 14 & 15 Module 4: Working with Images Final Project.
LO: to recognise < > and = symbols
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. We want that student saying, “huh, how do you do X?” Try to be specific.
For example: Equilateral Triangle All sides are congruent. All angles are 60˚. LearnZillion Notes: --Some lessons may build off of previous lessons.
The How to Guide to Using Google Drive
Today’s lesson – Python next steps
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. We want that student saying, “huh, how do you do X?” Try to be specific.
Global Winds Plate Project (2 Days)
Lesson Aims Vocabulary In this lesson you are going to:
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. We want that student saying, “huh, how do you do X?” Try to be specific.
Importing Textures: By: Jordan Myers.
Python Lesson’S 1 & 2 Mr. Kalmes.
Programming In Lesson 4.
Place 3-digit numbers on a line
UNIT 43 Assignment 3 Creating a Survey (P6).
LearnZillion Notes: --Some lessons may build off of previous lessons. In those cases, it may be helpful to include one or more review slides.
Ready to use ESL activities for busy English Teachers
Presentation transcript:

Copy, paste, amend This is a starter activity and should take 5 minutes [ slide 1 ] 1.Log in to your computer 2.Open myEtchASketch.py in IDLE 3.Check you have the code below: 4.Copy and paste the whole function and try to amend it to create a p1_move_S(self) function. ##### Functions: # player controls def p1_move_N(self): global p1_y canvas.create_line(p1_x, p1_y, p1_x, (p1_y-line_length), width=line_width, fill=p1_colour) p1_y = p1_y - line_length

Lesson Aims [ slide 2 ] In this lesson you are going to: 1.practise writing functions 2.practise using tkinter’s lines widget 3.review how to add keyboard control to your game 4.finish the MyEtchASketch game 5.Open and customise a free two player Etch A Sketch® game

Finishing Off [ slide 3 ] 1.Check your code for p1_move_N(self) is correct by looking at Code Box 5.4 on page 68 in Python Basics 2.Copy all the missing code from Code Box 5.4 into your Etch A Sketch® app 3.Test it out and make sure it works. Top Tip: There are four very similar functions supplied. It is quickest to copy the first function three more times and then amend it. Whenever a coder keeps copying and pasting it hints that there is probably a better way of doing things.

What now? [ slide 4 ] Try the Quick Ideas on page 70 1 Try the Puzzle on page 71 (this is quite difficult). 2 Get ourEtchASketch.py from the source code folder and try some of the Extra ideas on page 72 3