Learning How to Make a Dam