For the regular 1-holed torus, we can study it by applying periodicity conditions on the plane
$$(x,y)\sim(x+2\pi,y)$$ $$(x,y)\sim(x,y+2\pi)$$
I saw that we can represent a $g$-holed torus with a polyhedron with $4g$-sides, which are oppositely identified. See for example question 1 and question 2.
The problem is that couldn't find a way to write periodicity conditions, like we did for the 1-holed torus. Is there such a way to impose periodicity conditions on the plane so that we can recover the topology of a $g$-holed torus.
Maybe the question can be rephrased as : Is there a quotient of the complex plane that gives us the $g$-holed torus, and if so, what are the exact equations that identify the points?
EDIT: The comment section suggested that a quotient of the hyperbolic plane should be used rather than the complex plane, to obtain periodicity conditions for the $g$-torus. If that is the case, how should I go about to find those periodicity conditions?