Flatland is a 2D sandbox building and programming game. It presents a completely destructible, malleable and utilizable world. Players can use components to build diverse dynamic structures that have advanced functionality like combat, automation and spaceflight.
This video shows automated construction of a warship and how it fights.
YouTube: Youtu.be