hex game written in java