added computer play method