CSCI A201/A597 and I210

Lab Notes Nine

Second semester 2000-2001

Semester games.
The minute paper is in QuizSite. As expected.

When is it due? It's due two Thursdays from today (on 3/22) at the end of the day.

What does it ask for? A summary of lecture notes eighteen.

A brief one. Just the main points.

I see. Lecture eighteen is on chapter 11.

What do we do today? We build a computer game.

Why do we do that? It's exciting, and we want to write such a game ourselves by the end of the semester.

A simpler one. Yes, but seeing a slightly more complicated one first would help us in getting the prototype clear in our minds.

Alright, let's go for it. Very good. The mechanics is simple, as you will see.

The understanding of it is less trivial. Trivial here (and in mathematics, in general) means "relating to or being the mathematically simplest case". Or commonplace.

You need five files: You will also need a directory of images, called image). Here's a list of the images:

Copy each file to your desktop, then compile them, one by one. Use emacs (installation notes indexed in the main page). Bring each Java file in emacs, look at it, compile it. Or do it from the command line.

Why do we need so many files? The game we'll write in class before the end of the semester will be much simpler, but I want you to see what a reasonably nice game looks like.

And you also need an HTML file like this: Yes, this loads the applet in the browser.
    <title>Alien Landing</title>
  <body bgcolor=white>
    <applet code=GameManager.class width=240 height=300>

Then what you do? Run it.

How does it look? It should look like this.

By the way, you also need an audio file. Oh, here it is:

Last updated: Mar 8, 2001 by Adrian German for A201