/
ITEC 109 ITEC 109

ITEC 109 - PowerPoint Presentation

pamella-moone
pamella-moone . @pamella-moone
Follow
431 views
Uploaded On 2016-05-05

ITEC 109 - PPT Presentation

Lecture 4 Your second program Review What is a computer language What is a computer language made of What steps should you go through when writing a program using a computer language Fill out forms ID: 306699

program eddie language computer eddie program computer language terrain month lines run druid drive 000 maketurtle makeworld variables plow

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "ITEC 109" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

ITEC 109

Lecture 4

Your

second programSlide2

Review

What is a computer language?

What is a computer language made of?

What steps should you go through when writing a program using a computer language?

Fill out formsSlide3

Expectations

What you may want to do…Slide4

Reality

What you are going to do.Slide5

Why?

Writing software is hard

Professional game development

"By month one we had a renderer, terrain, and a playable character (Eddie Riggs),

by month two Eddie could drive his hot rod (the Druid Plow) around the terrain,

and by month three Eddie could run over endless numbers of

headbangers

with

his Druid Plow around a terrain height field. Hilarity ensued. “

It took industry professionals three months just to make a

car drive around a level and have the ability to run over peopleSlide6

Emphasis

Darkest of days:

24 person team

3.5 years

1.7 million dollars

200,000 lines of code

This class

1 person team

14 weeks

$0

1,000 lines of codeSlide7

Basics

Variables

Point of contact with hardware

Hold information / pointers to resourcesName

Functions

Use variables to do something

functionName

(

variableName);

Manipulate variables

Example:

w =

makeWorld

();

t =

makeTurtle

(w);Slide8

Problem

Draw a square

Algorithm

Create worldCreate turtle

Put pen down

Move turtle in a square

w =

makeWorld

();

t =

makeTurtle

(w);

penDown

(t);

forward(t);

turnRight

(t);Slide9

Program

Start up JES

Rest of lecture is a hands on demonstration