adding check for wins, refactoring score methods