/** Show a generated maze. */
Show a generated maze.
/ ** Show a generated maze . * /
func ShowMaze(m *Maze) {
   for y := 0; y < m.height; y++ {
      for x := 0; x < m.width; x++ {
         if m.data[y][x] == WALL {
            fmt.Printf("[]")
         } else {
            fmt.Printf("  ")
         }
      }
      fmt.Printf("\n")
   }
}
func ShowMaze ( m * Maze ) { for y := 0 ; y < m . height ; y ++ { for x := 0 ; x < m . width ; x ++ { if m . data [ y ] [ x ] == WALL { fmt . Printf ( " " ) } else { fmt . Printf ( " " ) } } fmt . Printf ( " \n " ) } }
Show a generated maze.
Show a generated maze .