Learning to program a turtle to build different structures.

Slides:



Advertisements
Similar presentations
Getting Started with PowerPoint
Advertisements

Year 9 Art Narrative Linear Video Editing. Year 9 Art - Narrative sequencing photostoriesYou have already looked at narrative (story) structures in painting.
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
Word Processing First Steps
Blockly Minecraft Task 1 ) Please copy the example task. Task by task
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
How to win friends and influence people by using the new Oxygen system! or What the heck is Oxygen?
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
1 Exploring Stagecast Creator Stagecast Creator Tutorial: Kids Smoking on the Playground By: Community Simulations Team Center for Human-Computer Interaction.
Google SketchUp Castle
Logo Lesson 2 Logo Procedures
Class-Level Variables in Alice By Jenna Hayes Under the direction of Professor Rodger Duke University, July 2008.
Wizard Game: Class-Level Variables in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July
Methods Tutorial: Part One By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June 9, 2008.
Microsoft ® Office Word 2007 Training Reuse text and other document parts: Introducing building blocks [Your company name] presents:
Alice Learning to program: Part Two by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2008.
Creating Tessellations With Paint. Open Microsoft Paint. Go to: Start, Programs, Accessories, Paint.
Lesson 3: Removing objects. Starter: Open the powerpoint from O:\ Drive 1. Double click “My Computer” on the desktop 2. Double click “O:\” 3. Double click.
Learning to program using Minecraft. Learning Objective Know what Minecraft is and to explain some of it’s uses Build a simple house in creative mode.
A Prezi presentation is like creating a mind map. It is created on a blank canvas and you decide where the information goes on this canvas.
Tutorial for Arrays and Lists By Ruthie Tucker. Description This presentation will cover the basics of using Arrays and Lists in an Alice world This presentation.
StarLogoTNG 101 Treasure Hunt Game Unit Lesson 3: Treasures and Hazards.
Hello! Keep watching … I’ll show you how to use a mouse.
Karel J Robot An introduction to BlueJ and Object- Oriented Programming.
Word By Mrs. Yollis Chaparral Elementary is a computer program that allows you to create written documents.
World Cities PowerPoint Tutorial Mrs. Bushman. Take Flight In iMovie Choose Your Path Movies in PowerPointAction Buttons.
Making a Playable DVD movie using your digital photos And adding music to the movie.
Spreadsheets in Finance and Forecasting Presentation 9 Macros.
We will be creating a spaceship that simulates real movements in space. The spaceship will fire a laser beam that can destroy targets. The spaceship will.
PhotoStory 3. Students will know how to operate PhotoStory, understand the importance of “cleanliness” and uniformity, and know the steps to add effect.
Task 1 On your own, think of all of the types of film that you get (for example – horror). We call these genres. Write one on your card. When your teacher.
Introduction to Arrays. definitions and things to consider… This presentation is designed to give a simple demonstration of array and object visualizations.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
POWERPOINT REVIEW Computer Technology. After reading the definition, think of the answer. Then, click to reveal the answer and see if you are correct.
How to search the internet How to select a search engine Benefits of a search engine Find current local news How to navigate forwards and backwards How.
TURTLE GRAPHICS IP MR. MELLESMOEN. LOGO IN THE 1970’S THERE WAS A SIMPLE BUT POWERFUL PROGRAMMING LANGUAGE CALLED LOGO THAT WAS USED BY A FEW.
Introduction to PowerPoint Curriculum Implementation Day Friday, November 3, 2006 K.J. Benoy.
Python Programming Using Variables and input. Objectives We’re learning to build functions and to use inputs and outputs. Outcomes Build a function Use.
Section 1 Introduction National 4/5 Scratch Course.
An Introduction to Alice (Short Version) – Extras! Yossra Hamid Under the Supervision of Professor Susan Rodger Duke University, June 2014 This is a continuation.
Making Python Pretty!. How to Use This Presentation… Download a copy of this presentation to your ‘Computing’ folder. Follow the code examples, and put.
Standard Grade Programming using VB 1 Programming Visual Basic.
Making Billboards By Deborah Nelson Duke University, Under the direction of Professor Susan Rodger, July 14, 2008.
JAZLER SHOW2 JAZLER SHOW2 AUTOMATION SOFTWARE. EASY PLAYBACK JAZLER SHOW2 AUTOMATION SOFTWARE Jazler Show is a program that lets you load audio files.
Welcome to our HCMS Professional Development Session Power Point Presentations.
Learning PowerPoint Presenting your ideas as a slide show… …on the computer!
The Essentials of Alice Mrs. Jayne Slease SBMS CTE Computer Science and Animation Credit to Duke Students under the direction of Professor Susan Rodger.
Tutorial for Arrays and Lists. Description This presentation will cover the basics of using Arrays and Lists in an Alice world It uses a set of chickens.
An Introduction to Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University, June 2009 Updated June 2014 by Ellen Yuan.
CPD App Design V5 Hello! July CPD App Design.
VB.NET and Databases. ADO.NET VB.Net allows you many ways to connect to a database. The technology used to interact with a database or data source is.
1 CA202 Spreadsheet Application Automating Repetitive Tasks with Macros Lecture # 12 Dammam Community College.
The Essentials of Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University May 2009.
Introducing the turtle
Learning to use a ‘For Loop’ and a ‘Variable’. Learning Objective To use a ‘For’ loop to build shapes within your program Use a variable to detect input.
Computer Programming.
VEX IQ Mix & Match Curriculum
How to connect your brick
A Tiny Look at the Graphics Window
Learning to program with Logo
Microsoft® Small Basic
Computer Basics Last Updated: 2007.
Explain what touch develop is to your students:
LESSON 03 Turning In Place. LESSON 03 Turning In Place.
Explain what touch develop is to your students:
Explain what touch develop is to your students:
Explain what touch develop is to your students:
A Tiny Look at the Graphics Window
Minecraft Flipped Task
Presentation transcript:

Learning to program a turtle to build different structures

Learning Objective To move the turtle around using different libraries To program a turtle to try and build different shapes using the different blocks

It’s a computer which can build for you! It can save you time, if you code it! It needs fuel so that it can build and move on to it’s next location It is possible to build full structures which can be shared with friends! What is the Turtle?

Getting Started Load up your inventory by typing ‘E’. This will allow you to search for the ‘turtle’ You will need a ‘Mining Turtle’ Click this and then move it into your inventory Once in your inventory, add it to your world in a nice flat space

Time for Fuel The turtle cannot move unless it has fuel. You will need to search for some coal. Try and add 64 pieces of coal into your inventory so that you can fuel up later. You should then be able to drag it into the bottom of your screen.

Task 1: - Fueling Right click on your turtle and it will bring up the programming menu. If you have placed the coal on the right, you should type in “refuel all” This will full up your turtle with enough energy to build

Task 1: - Label your turtle Right click on your turtle and it will bring up the programming menu. We need to set a label so that we can always reuse our computer. Label set MyTurtleProg This should give your turtle a label

Task 2: - Moving your turtle Type ‘edit myfirstmovement’ This will set up your first program which allows you to get your turtle moving around.

Task 2: - Moving your turtle You now have a blank program screen. To get your turtle to move forward you use the following command. Turtle.forward() Press CTRL and SAVE Exit the program and run it by typing “myfirstmovement”

Task 2: - Moving your turtle That might have been a little difficult to spot movement. Try and make it sleep between each movement so that you can watch it move. Try this code: - >

Task 2: - TINKER TIME!! Now that you have managed to get your turtle to move forward, try and play around with the following: Turtle.forward() Turtle.turnright() Turtle.turnleft() Turtle.up() Turtle.down() Turtle.digDown() Turtle.digUp()

Task 3: - Building blocks In order for our turtle to place blocks, you need to place them in the inventory. I’ve placed some wooden planks as the first item of the inventory. You can now place them whenever you move forward. The next slide will show you an example

Task 3: - Building blocks Turtle.select(1) – selects the first item from the inventory (of the turtle) Turtle.place() – places the turtle in the world Turtle.back() – moves the turtle back one place This example will create 3 blocks. You will need to use ‘turnLeft’ or ‘TurnRight’ depending on which way you’re facing.

Challenge! Using what you’ve learnt so far you’re required to build a 4 by 4 square using the following: Turtle.Select(1) Turtle.forward()* depends on which way you’re facing Turtle.back() * depends on which way you’re facing Turtle.place* places the block onto the screen Turtle.turnRight()* depends on which way you’re facing Turtle.turnLeft()* depends on which way you’re facing EXTENSION: - Are you able to build a program which builds a more than one structure on top of each other…. Turtle.up()

Finishing Up! What is the problem with the code that we’ve had to do this lesson? The next lesson will introduce you to using a ‘for’ loop in your programming