Simple Java game for practice