adds random computer player functionality