package me.dreamteam.tardis;

import java.awt.Canvas;
import java.awt.image.BufferStrategy;

/**
Main Class
 */

public class Game extends Canvas {
	
	/**
	 * Begin the game parameters that will allow us to define certain elements.
	 */
	
	private BufferStrategy strategy;
	// This provides hardware acceleration
	
	private boolean isRunning = true;
	// Is the game running or not?
	
}

@@ -67,28 +67,182 @@
 awt.
-image.BufferStrategy
+Dimension;%0Aimport java.awt.event.WindowAdapter;%0Aimport java.awt.event.WindowEvent;%0Aimport java.awt.image.BufferStrategy;%0A%0Aimport javax.swing.JFrame;%0Aimport javax.swing.JPanel
 ;%0A%0A/
@@ -497,16 +497,16 @@
 = true;%0A
-
 %09// Is t
@@ -531,10 +531,1672 @@
  not?%0A%09%0A
+%09private String gameName = %22Codename TARDIS %22;%0A%09private String build = %22Alpha %22;%0A%09private String version = %220.1%22;%0A%09// Version set up so that we can see where we are at%0A%09%0A%09%0A%09public Game() %7B%0A%09%09// create a frame to contain our game%0A%09%09JFrame container = new JFrame(gameName + %22- %22 + build + version);%0A%09%09%0A%09%09// get hold the content of the frame and set up the resolution of the game%0A%09%09JPanel panel = (JPanel) container.getContentPane();%0A%09%09panel.setPreferredSize(new Dimension(500,650));%0A%09%09// Katie feel free to change this to the dimensions as given in the photoshop document%0A%09%09panel.setLayout(null);%0A%09%09%0A%09%09// setup our canvas size and put it into the content of the frame%0A%09%09setBounds(0,0,500,650);%0A%09%09panel.add(this);%0A%09%09%0A%09%09// Tell AWT not to bother repainting our canvas since we're%0A%09%09// going to do that our self in accelerated mode%0A%09%09setIgnoreRepaint(true);%0A%09%09%0A%09%09// finally make the window visible %0A%09%09container.pack();%0A%09%09container.setResizable(false);%0A%09%09container.setVisible(true);%0A%09%09%0A%09%09// add a listener to respond to the user closing the window. If they%0A%09%09// do we'd like to exit the game%0A%09%09container.addWindowListener(new WindowAdapter() %7B%0A%09%09%09public void windowClosing(WindowEvent e) %7B%0A%09%09%09%09System.exit(0);%0A%09%09%09%7D%0A%09%09%7D);%0A%09%7D%0A%09%0A%09/**%0A%09 * Garbage collection and looping%0A%09 */%0A%09private void startGame() %7B%0A%09%0A%09%7D%0A%09%0A%09%0A%09public void gameLoop() %7B%0A%09%09long lastLoopTime = System.currentTimeMillis();%0A%09%09%0A%09%09while (isRunning) %7B%0A%09%09%09long delta = System.currentTimeMillis() - lastLoopTime;%0A%09%09%09lastLoopTime = System.currentTimeMillis();%0A%09%09%09%0A%09%09%7D%0A%09%7D%0A%09%0A%09/**%0A%09 * Game Start%0A%09 */%0A%09public static void main(String argv%5B%5D) %7B%0A%09%09Game g =new Game();%0A%0A%09%09// Start the main game loop%0A%09%09g.gameLoop();%0A%09%7D%0A%09%0A
 %7D%0A

Build the canvas, add more params, game loop, main!!!