Paper.io? Is it possible?

How would one make a game like this? where the trail is created and when reconnected with territory, it adds what you traced?

pretty hard, i cant figure it out

It would be super difficult, you would need to find a way to make every individual block sense whether or not it was surrounded. I’m not sure how that could be done

I think it would be somewhat possible, the hardest part would be adding the territory…

When your trying to find the territory maybe using an expression and multiplying the height times width would help?