Revert "Revert "Check win""

This reverts commit 8bb7f1c6e55d72d01b1450988a676544dbffa092.