Simple Java game for class final