/** Generate a maze. */
Generate a maze.
/ ** Generate a maze . * /
func GenerateMaze(m *Maze) {
   r := rand.New(rand.NewSource(time.Now().Unix()))
   CarveMaze(m, r, 2, 2)
   m.data[1][2] = SPACE
   m.data[m.height - 2][m.width - 3] = SPACE
}
func GenerateMaze ( m * Maze ) { r := rand . New ( rand . NewSource ( time . Now ( ) . Unix ( ) ) ) CarveMaze ( m , r , 2 , 2 ) m . data [ 1 ] [ 2 ] = SPACE m . data [ m . height - 2 ] [ m . width - 3 ] = SPACE }
Generate a maze.
Generate a maze .