
1
LCC 6310
The Computer as an
Expressive Medium
Lecture 25
Overview
Project 6 assigned
More Java for real!
Graphical Java applications - double buffering!
Mouse listeners
Braitenberg vehicles revisited
Project 6
Due: Friday December 7
While computer-based interactive games (a.k.a. video games) have
been a pop-cultural force since the arcade scene of the late 1970s
and early 1980s, in recent years video games have been recognized
as a major emerging art form, poised to have as much cultural
impact on the 21st century as cinema did on the 20th. The game
industry is making Hollywood-sized amounts of money, with
designers of the most popular games achieving a geeky sort of
celebrity. Museums and galleries are offering exhibitions of "art
games", computer-scientists are beginning to treat games as
technical objects worthy of serious attention, and in humanities
departments around the world, games studies is a hot new topic.
What kind of game would you create? Create a simple game. Your
game should be a "regular" Java applet (i.e. do not use Processing).
Java reminder
Use your favorite text editor to write your Java code. To compile,
package and run a Java application:
Step 0: Write source code for your java classes in text editor and
create a manifest file which describes the main class
Step 1: Compile your .java files
> javac *.java
Step 2: Package your .class files into a .jar
> jar -cfm MyJar.jar MyManifest.txt *.class
Step 3: Run your java application using the .jar
> java -jar MyJar.jar
Note: for java applets, you don't need a Manifest and you can view
your applet by putting it on a webpage.