what says play doesn't increase the chance of survival?
I think this[1] would be your definitive resources but if you can just search for "evolution of play" then you'll find a lot of stuff. Wikipedia has a hodgepodge of perspectives in section on the purpose of play [2] but you might be better off tracking down those citations.
1. https://www.cambridge.org/core/books/abs/cambridge-handbook-...
2. https://en.wikipedia.org/wiki/Play_(activity)#Development_an...
How did animals come to play? Because it allows them to explore their environment and increases their evolutionary fitness. Why do animals continue to play? Because they enjoy it.