Howdy. 

Notes for stages one and two of the project will be posted Fri and Sat.

Notice both days are completely open to appointments. 

You are not responsible for stages one and/or two (nothing to turn in). 

Seth and Phoebe will teach them Mon in lab and Tue in lab.

The last lab assignment due is the one with pictures (Mon). 

The last homework assignment: due yesterday, still open until midnight. 

You are responsible for the finished project (stage three). 

Turn that in Wed morning, before the mock exam. 

http://www.cs.indiana.edu/classes/c212-dgerman/spr2015/sampleFinal.pdf

The link above shows the mock final from Spring 2015. 

Here's what the smallest Spaceship looks so the code compiles: 

import java.awt.*; 
import java.awt.event.*; 

class Spaceship implements World {
  int x, y, vx, vy; 
  Spaceship(int x, int y, int vx, int vy) {
    this.x = x;
    this.y = y;
    this.vx = vx;
    this.vy = vy; 
  }
  public void draw(Graphics g) {
    
  }
  public void update() {
    
  }
  public boolean hasEnded() {
    return false;  
  }
  public void keyPressed(KeyEvent e) {
    
  }
}

So now let's finish this.

import java.awt.*; 
import java.awt.event.*; 

class Spaceship implements World {
  int x, y, vx, vy; 
  Spaceship(int x, int y, int vx, int vy) {
    this.x = x;
    this.y = y;
    this.vx = vx;
    this.vy = vy; 
  }
  public void draw(Graphics g) {
    g.setColor(Color.YELLOW); 
    g.fillOval(this.x - 30, 
               this.y - 30, 
               60, 
               60); 
    g.setColor(Color.BLACK); 
    g.drawOval(this.x - 30, 
               this.y - 30, 
               60, 
               60); 
    g.drawString( "(" + this.x + ", " + this.y + ")", 100, 100 ); 
  }
  public void update() {
    this.x += this.vx; 
    this.y += this.vy; 
  }
  public boolean hasEnded() {
    return false;  
  }
  public void keyPressed(KeyEvent e) {
    int c = e.getKeyCode();
    switch (c) {
      case KeyEvent.VK_UP   : this.vy -= 1; break;  
      case KeyEvent.VK_DOWN : this.vy += 1; break;  
      case KeyEvent.VK_LEFT : this.vx -= 1; break;  
      case KeyEvent.VK_RIGHT: this.vx += 1; break;  
      default:                              break;
    }
  }
}

Mark, Logan, Daniel, Jared, Austin, Seth, Trevor, 
Judy, Hallie, Adam, James, Brennan, Jacquelyn, 
Morgan, Paul, Alex Ong, Yiming, Jingzhe, Nick, 
Jon, M. Alexander, Grant, Mohan, William

For the assignment due Mon (last one) I'd choose to do a flying Boat. 

Draw the boat, car or tree as the Spaceship. 

--