Better win algorithm