Trick Or Treat Map

You could use a counter with a limit: