fixed computer function and fixed game function