N341 Client-Side Web Programming Distributed Media
Lecture
Title
Related Files
Unit 1 - Introduction to Web Programming
1a
Introduction to N341 and STAIR
1b
Creating Algorithms
Unit 2 - Variables, Input, and Output
2a
Variables, Input and Output
nameGame.html
2b
Hello World
hello.html
2c
Adding a variable
helloJoe.html
2d
Incorporating user input
helloUser.html
2e
String Concatenation
concatenation.html
2f
Variable Conversion
Adder.html
BadAdd.html
GoodAdd.html
2g
Creating the name game
nameGame.html
Unit 3 - Random Numbers and Conditions
3a
Random numbers and conditions
fortuneTeller.html
3b
Generating Random Numbers
numberMaker.html
3c
Working with Random Numbers
dieRoller.html
3d
Basic Conditions and the
if
statement
lowTemp.html
3e
Using the
else
Clause
highOrLow.html
3f
Using Nested
if
Statements
manyTemps.html
3g
Using the
switch
Structure
fuzzyDice.html
3h
Understanding the Fortune Program
fortuneTeller.html
Unit 4 - Looping Structures
4a
Introduction to loops
numberGuesser.html
4b
The basic
for
loop
racer.html
4c
Variations on the
for
loop
countByFive.html
backRacer.html
4d
Using a
while
loop
jokeTeller.html
4e
Creating the Number Guesser
numberGuesser.html
Unit 5 - Object Based Programming
5a
object-based programming
madlib.html
5b
Modifying the document's background
colorFlasher.html
5c
Examining other properties of the Document object
docInfo.html
5d
Exploring document methods
docMethods.html
5e
Event-Driven Programming and button objects
dontClick.html
5f
Text-based input and output
nameGrabber.html
5g
Return to the mad lib
madlib.html
Unit 6 - Using HTML Form Elements
6a
Getting Input from HTML forms
superml.html
6b
Using checkboxes
MusicChooser.html
6c
Using radio buttons
golf.gif
sizeChooser.html
6d
Working with drop-down lists
colorChooser.html
6e
Creating a multiple-choice list box
colorChooserII.html
6f
Returning to the super mad-lib
SuperML.html
Unit 7 - Dynamic Output
7a
Introduction to dynamic output
petalMas.html
7b
Writing to Frames
ftMas.html
frameTester.html
blank.html
7c
Creating new windows
showHelp.html
windowTester.html
petalHelp.html
7d
Creating Images
die1.jpg
die2.jpg
die3.jpg
die4.jpg
die5.jpg
die6.jpg
dieMas.xcf
(in GIMP format)
guy.gif
guyRose.gif
guyTeeth.gif
7e
Writing the Petals Around the Rose Game
petalMas.html
petals.html
begin.html
Unit 8 - Image-Swapping and Arrays
8a
Introduction to Image - Swapping and Arrays
bbstart.html
8b
Image-Swapping
imgSwap.html
8c
Managing mouse-over behavior
imgOver.html
8d
Basic Arrays
simpleArray.html
imageArray.html
8e
Creating a lookup table
inOdds.html
bblookup.html
lookup.html
8f
Building the Basketball 21 game
bbStart.html
bball.html
Unit 9 - Dynamic HTML (DHTML)
9a
Introduction to Dynamic HTML
showSub.html
9b
Browser Detection
browserDetect.html
9c
Cascading Style Sheets
CSSDemo.html
9d
Modifying DOM Objects
DomNotes.html
update from book
DomExample.html
9e
Cross-Platform DOM object movement
moveSub6.html
9f
Incorporating Audio
soundDemo.html
9g
Preparing the HTML for Sub Game
showSub.html
sub6.html
9h
JavaScript code for sub game
sub6.html
Unit 10 - Using an API
10a
Introduction to the Gamelib API
carStart.html
10b
Creating a Sprite
sprite.html
glLinks.html
gamelib documentation
10c
Moving a Sprite
moveSprite.html
10d
Changing a Sprite's Frame
moveArrow.html
arrow.gif
10e
Detecting Collisions
collision.html
10f
Creating a timer
timer.html
10g
Preparing the Car Game
carCtrl.html
carStart.html
car.html
track.gif
10h
Writing the Car Game
carStart.html
car.html
Unit 11 - More Gamelib Features
11a
Using Sound, Layers, and Keyboard
dogfight.html
11b
Working with Layers and the Keyboard
layerKey.html
11c
Adding sound in gamelib
soundDemo.html
bang.wav
canyon.mid
11d
Using frame animation
simplePlane.html
plane1.gif
clouds.gif
11e
Adding a missile
balloon.html
bullet.gif
blimp.gif
11f
Returning to the dogfight game
dogfight.html
plane0.gif
plane1.gif
bang.wav
hit.wav
Unit 12 - Cookies and the Mouse
12a
Using Cookies and the Mouse
puzzle.html
12b
Using the mouse for drag and drop
dragger.html
ball.gif
12c
Responding to mouse events
button.html
button.gif
12d
Following the mouse and sprites
follow.html
12e
Storing information in cookies
cookie.html
12f
Creating the jigsaw puzzle
puzzle.html
pzlBtns.gif
Unit 13 - The Game Creation Process
13a
The game creation Process
brickSketch.gif
13b
Creating the basic sprites
brick01.html
ball.gif
clouds.gif
13c
Adding the paddle
brick02.html
paddle.gif
13d
Detecting paddle - ball collisions
brick03.html
13e
Adding bricks
brick04.html
13f
Adding more bricks and sound effects
brick05.html
13g
Adding multiple game boards
brick06.html
brick.gif
13h
Changing the bricks' behavior
brick07.html
13i
Adding a scoring system
brick08.html
13j
Reorganizing and cleaning up
brick09.html
13k
Adding a high score cookie
brick10.html
© Andy Harris
Indiana University / Purdue University, Indianapolis
email:
aharris@cs.iupui.edu
homepage:
http://www.cs.iupui.edu/~aharris