Programming with Alice. Getting Started with Alice Alice is a free programming language – Named in honor of Lewis Carroll – See web page for download.

Slides:



Advertisements
Similar presentations
Alice.
Advertisements

Video Game Design Lesson 1. Game Designer Person involved in the development of a video game Person involved in the development of a video game Usually.
COMPUTER PROGRAMMING I Understand Problem Solving Tools to Design Programming Solutions.
1.4 Programming Tools Flowcharts Pseudocode Hierarchy Chart
PSEUDOCODE & FLOW CHART
Introduction to Alice Alice is named in honor of
Basics of Computer Programming Web Design Section 8-1.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
CS320n – Elements of Visual Programming Introduction to Alice Mike Scott (Slides 1-1)
What is Alice? Graphical Programming Environment and Language Learn object oriented programming using 3 dimensional objects and a story telling approach.
Fall 2009ACS-1805 Ron McFadyen1 ACS-1805 Introduction to Programming using Alice.
Chapter 2: Developing a Program Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved.
An Introduction to Programming with C++ Fifth Edition Chapter 1 An Introduction to Programming.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 2: Developing a Program.
Programming Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.
CSC1401: Introductory Programming Steve Cooper
Introduction to Programming. What is a Program  Set of Instructions that tells the computer what to Do.  Driving force behind the computer  Without.
Tutorial 5 Making a Document Interactive. XP Objectives Explore the different button states Add a button from the Button library Create a button Learn.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Getting Started With Alice. Why Learn about Programming computers. Learning to program a computer does not turn you into a nerd We will use Alice which.
Chapter 12: How Long Can This Go On?
Learning to Program with Alice – Chapter 1 September 16, 2009.
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 2: Flowcharts.
BACS 287 Programming Logic 1. BACS 287 Programming Basics There are 3 general approaches to writing programs – Unstructured – Structured – Object-oriented.
CS1501. What is a computer program? A set of instructions to tell the computer what to do It can be elegant! Not only a way to tell a computer what to.
University of Sunderland CIF 102/FIF102 Fundamentals of DatabasesUnit 15 Programming in Microsoft Access using VBA Using VBA to add functionality.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Obj: Introduction to Alice HW: Read handout and answer questions. Alice is named in honor of Lewis Carroll’s Alice in Wonderland Day 5.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland Slides Credit: Joel Adams, Alice in Action CS120 Lecture August,
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 2 I Am Not a Control Freak!
Alice and Algorithms Chapter 1 Part Reasons to Program The joy of programming To create a tool To use your creativity abilities For non programmers.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Review for test! Alice Chapter 1&2 Test is tomorrow! - March 26 th March 25th.
Computer Game Design ActionScript is… Object-oriented programming Everything you do in ActionScript does something to some object* Some objects.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
What is Alice? Alice is an innovative 3D programming environment that makes it easy to create an animation for telling story, playing an interactive game,
Learning to Program with Alice 1st Semester September 11, 2008.
Expressing Algorithms as Flowcharts and Pseudocode
Programming in Alice IT-IDT-9 Design, develop, test and implement programs using visual programming. 9.1 Utilize drag and drop software to develop programs.
Introduction to the course Aug 30, Day 1 Object-oriented Programming thru Video Games TIDE 1840 Harry Howard Tulane University.
1 Quiz Show Programming Terms. 2 Alice - 3D Virtual Programming Vocabulary Quiz Board Chapter 1 Chapter 2a Chapter 2b Chapter 3 Chapter 4 $100 $200 $300.
Understand Problem Solving Tools to Design Programming Solutions
Basics of Computer Programming
CS320n – Elements of Visual Programming
Getting started in Alice
Obj: Introduction to Alice
Basics of Computer Programming
Basics of Computer Programming
Basics of Computer Programming
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Computers & Programming Languages
Introduction to Algorithms and Programming
Introduction to Alice Alice is named in honor of
ME 142 Engineering Computation I
Flowcharting & Algorithms
Introduction to Alice Alice is named in honor of
ICT Gaming Lesson 2.
TEL-W16 Final Project Presentation Teaching Logics/Algorithms
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Presentation transcript:

Programming with Alice

Getting Started with Alice Alice is a free programming language – Named in honor of Lewis Carroll – See web page for download URL Different than most languages – Visual, focus on 3D animation – Same programming concepts as you would find in an object-oriented language but without obscure text commands or the mundane calculations in most intro- level courses – You play the role of a director in making a movie

Programming Fundamentals List of instructions – Sequential processing If Statements – IF it is raining THEN take an umbrella – Conditional execution Repeating Behavior – WHILE angry (stomp feet) – Looping or Iteration

Programming Fundamentals Breaking things up into smaller pieces – Cleaning house: clean kitchen, clean living room, clean bathroom Each room: pick up toys, vacuum, dust furniture – Procedures, Problem Decomposition, Top-down design Compute a result – Perform sequence of steps to obtain a result that is an answer to a question – Determining and implementing an algorithm

Key to Programming Most computers “understand” around 100 instructions; the complexity is in the different orders and combinations – Consider chess Learning how to think about arranging a sequence of instructions to carry out a task is the most valuable part of learning how to program

Flowcharting The book uses some flowchart symbols TerminalInput/Output Processing Call Decision

Sample Flowchart StartRead Value Multiply value by 2 and store in X Display value in X Stop

Alice Concepts In class: Give demo of objects in 3D world 3D Virtual World Objects in three dimensions – Place object with mouse; hold shift to move up/down – Objects have properties – Height, width, depth in virtual meters – Up, Down, Left, Right, Forward, Back all from the perspective of the object Objects have center – May be center of mass or an end (e.g. bat) – Initial placement is usually on the ground 2D Graphics – Can create a “billboard” from a 2D image

Animation Sequence of frames, each with a slightly different scene Scene redrawn with objects positioned in a slightly different place Alice creates (renders) the sequence of frames for you to make the animation based on instructions you give it

Methods Methods are actions with respect to some object – It is the group of code, or a procedure, that accomplishes some specific task Objects come with a number of built-in actions – Can right-click to see methods, or drag a method to the code window

Example Add magician, Socrates to the world Have each walk forward Magician offers to do a trick Magician disappears Magician reappears in a different place Socrates is amazed