CompSci 4
Java for Video Games

Homework 2
Wackadot

200 points, due 9pm January 31, 2006

Introduction

This is the first game you are going to write from scratch using the gaming engine. The instructions for making the basic game are listed on the gaming engine web page. You will enhance the basic game. Be sure to start early because this one is longer than the previous assignment.

Requirements

  1. Make and post to your web page the basic Wackadot game. The instructions for doing this are on the gaming engine web site at http://www.cs.duke.edu/~cjj1/professional/tipgame/firstgame.html Note that you may replace step one in the detailed instructions by using the snarf facility of Eclipse/Ambient.
  2. Add enhancements to the game. There is quite a bit of sample code you should view on the game engine web site at http://www.cs.duke.edu/~cjj1/professional/tipgame/samples.html. In particular, look at the examples Input.
    1. Add two different sounds: a pleasant sound when you hit the right dot, and an unpleasant sound when you hit the wrong dot.
    2. Change the sprites to be StringSprites or ImageSprites.

  3. Post the completed game to your web site and update your assignments page.
  4. Submit your project for grading using the Eclipse/Ambient submit facility.

How to

Instructions for posting your game to the web are available here.