Skip to content

Instantly share code, notes, and snippets.

View lamr14's full-sized avatar
🏠
Working from home

Luis Meza lamr14

🏠
Working from home
View GitHub Profile
@lamr14
lamr14 / laberinto.py
Created November 1, 2017 17:57 — forked from knkillname/laberinto.py
Laberinto por recorrido en profundidad en Python 3
# Crear un laberinto aleatorio en Python3 usando el algoritmo de
# recorrido en profundidad. El propósito de este programa es mostrar las
# características del lenguaje.
#
# Autor: Mario Abarca
# Fecha: 2017/09/07
from random import shuffle, randint # Números pseudoaleatorios
from itertools import product # Producto cartesiano
# Copyright 2012 James McCauley
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,