I can't find the game i've been playing as a kid

The game was about a king who protects his tiny castle from zombies and slowly upgrades it. The game begins with him looking over an abyss and his crown falls. I’ve recently thought of it and i want to relocate some old memories. Hope you can help me

i dont know what game that is im really sorry

Never mind i found it.

Y8 Games