Refactor playCode some more, add bias and default_valu