implemented rudimentary computer player