There is no official Warrior Cats game for PC. What circulates online is entirely fan-made, built by readers of the book series rather than by a studio.
That matters if you are searching for a download, because "Warrior Cats PC game" could point at any of several unrelated fan projects. Check the title and the creator before installing anything, and be cautious with downloads from unofficial sources — fan games are frequently hosted on personal sites with no vetting at all.
If you can name the specific one you saw, tracking down the right page becomes much easier.