If you want a pay-to-build system, you could consider using TotalRPG since it has that functionality built-in.
It's doesn't align exactly with your question since it just uses currency to buy bricks, but in a roundabout fashion you could accomplish the same thing.