The hex game in js.