Algebraic Geometry of Random Surfaces