updated win/loss algorithm

Submitting this on Sue's behalf.