jshint fix
proper game creation api