A little game code with java and eclipse