Working player code generation