Oops, now the WinorLosefunction works, sorta