added player win condition