To make the job of game making easier, I wrote three useful classes, GameApplet, GamePanel and Game. You will onlyneed to extend Game (that is, write a succesor class that will handle game information), while the classes I wrotehandle input (by listening to it, and informing your class whenever an input event happens) and output (by askingyour game class for what to paint on the screen).