Competition style encode/decode