Encode games