fixed randomComputer to cater both roles