changed playtowin for multi win support, bug fixes