Simple Java game