add game creation functionality. add random code generation.