@@ -0,0 +1,541 @@
+import java.awt.Color;%0A%0Apublic class Game extends HCLogic%7B%0A%09%0A%09HCGame game;%0A%09int x = 0;%0A%09int y = 0;%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09new Game();%0A%0A%09%7D%0A%09%0A%09public Game() %7B%0A%09%09game = new HCGame(%22name goes here%22, 500, 500, this);%0A%09%09game.setBackground(Color.BLACK);%0A%09%09game.start();%0A%09%7D%0A%09%0A%09public void update() %7B%0A%09%09if(game.getKey('d')) %7B%0A%09%09%09x++;%0A%09%09%7D%0A%09%09if(game.getKey('a')) %7B%0A%09%09%09x--;%0A%09%09%7D%0A%09%09if(game.getKey('w')) %7B%0A%09%09%09y--;%0A%09%09%7D%0A%09%09if(game.getKey('s')) %7B%0A%09%09%09y++;%0A%09%09%7D%0A%09%09game.setDrawColor(Color.cyan);%0A%09%09game.drawRect(x, y, 100, 100, true);%0A%09%7D%0A%0A%7D%0A

Create Game.java