Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual...

8

Click here to load reader

description

Show video projects Pop quiz: –Look on-line and find at least 2 attributes for the video tag and write down what each does.

Transcript of Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual...

Page 1: Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog. Homework: [Catch up.] Post proposal for your JavaScript.

Programming Games

Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog.

Homework: [Catch up.] Post proposal for your JavaScript project.

Page 2: Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog. Homework: [Catch up.] Post proposal for your JavaScript.

Credit cards

• Simplified: http://faculty.purchase.edu/jeanine.meyer/creditcard.html – how simplified? interest calculated on monthly

basis, NOT from date of purchase, if you don't pay up.

• See also http://faculty.purchase.edu/jeanine.meyer/credit.doc

Page 3: Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog. Homework: [Catch up.] Post proposal for your JavaScript.

Show video projects

• Pop quiz:– Look on-line and find at least 2 attributes for

the video tag and write down what each does.

Page 4: Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog. Homework: [Catch up.] Post proposal for your JavaScript.

Find Daniel

• http://faculty.purchase.edu/jeanine.meyer/finddaniel.html

• Examine code.• Application consists of multiple files.• You need to use PhotoShop or Paint Shop

Pro or equivalent to determine coordinates.

Page 5: Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog. Homework: [Catch up.] Post proposal for your JavaScript.

Virtual Dog

• http://faculty.purchase.edu/jeanine.meyer/pet3.html

• This is example of serious tool: Discrete Simulation– periodically examine variable(s), make

calculations, determine state (with labels, possible new picture)

– actions (in this case, feeding and petting)– stochastic processing: some action uses

random processing

Page 6: Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog. Homework: [Catch up.] Post proposal for your JavaScript.

Project possibility

• You can read tutorial and then make your own virtual something.

• Do make plans:– what are the states (4 to 6 okay)– what are the actions (2 to 3 okay)– what are the conditions

Page 7: Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog. Homework: [Catch up.] Post proposal for your JavaScript.

Other project possibilities

• Elaboration (coding) of class projects• Elaboration (coding)of other JavaScript

projects on my site or from book.• Anything you want…that I approve. You

must make proposal.

Page 8: Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog. Homework: [Catch up.] Post proposal for your JavaScript.

Homework

• Catch up: favorite sites, drawings, fair coin and biased coin, coin drawn on canvas, dice game, slide show, video. – Upload work and make an index.html file for

the web folder or a subfolder called pg or programming or games

• Post project proposal to moodle forum.