dogfight server code