A example Game in java