working again with computer player (random) and correct win determation