- Makefile
- pyproject.toml
- requirements.txt
- .gitignore
- config parser
- representación Cell/Maze
- MazeGenerator(BFS)
- PERFECT=True
- solución BFS(deberia ser Djikstra)
- output hexadecimal
- validación
- PERFECT=False
- "42"
- renderer ASCII
- tests
- packaging mazegen
- README
- revisión final con flake8 + mypy
This project has been created as part of the 42 curriculum by jgilaber y x.
WIDTH=20
HEIGHT=15
ENTRY=0,0
EXIT=19,14
OUTPUT_FILE=output/maze.txt
PERFECT=True
La arquitectura se divide en varias capas: configuración, generación, representación del laberinto y salida/consumo del laberinto.
config.txt
│
▼
┌─────────────────┐
│ ConfigParser │
└────────┬────────┘
│
▼
┌─────────────────┐
│ MazeConfig │
└────────┬────────┘
│
▼
┌─────────────────┐
│ MazeGenerator │
└────────┬────────┘
│
┌────┴────┐
│ │
▼ ▼
PERFECT PLAYABLE
Generator Generator
│ │
└────┬────┘
│
▼
┌─────────────────────────┐
│ Maze │
│ │
│ Cell Cell Cell │
│ Cell Cell Cell │
│ Cell Cell Cell │
└───────────┬─────────────┘
│
┌────┼────┐
│ │ │
▼ ▼ ▼
Solver Renderer Writer
│ │ │
▼ ▼ ▼
N E E S │ maze.txt
│
Terminal/MiniLibX
MIT License
Copyright (c) 2026 JuanGilabert
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
A graphical maze generator written in ¿C? as part of the 42 curriculum.
The project generates mazes according to a set of configurable parameters and provides a visual representation of the generated maze.
This project was developed as part of the curriculum at 42 Madrid.
The goal of the project is to practice:
- Python programming
- Algorithm design
- Data structures
- Maze generation
- File parsing and validation
- Error handling
- Graphics / graphical interfaces
- Unit testing
Clone the repository and compile the project:
git clone https://github.com/YOUR_USERNAME/a-maze-ing.git
cd a-maze-ing
makeThen run the program according to the project's required arguments:
./a-maze-ing [arguments]See the source code and project documentation for the available options.
.
├── config
├── core
├── dependencies
├── mazegen
├── renderer
├── tests
├── utils
├── .gitignore
├── Makefile
├── includes/
├── src/
└── ...
This repository contains my personal implementation of the A-Maze-ing project developed during my studies at 42 Madrid.
The project specification, subject, evaluation criteria, and other materials provided by 42 are not my original work and remain subject to their respective rights and terms.
This repository is intended primarily as a record of my own work and learning process.
The original code written for this repository is released under the MIT License.
This license applies to my own contributions only. It does not grant any rights to materials, specifications, assets, or other content belonging to 42.
This is my personal solution to the A-Maze-ing project at 42 Madrid. The project subject and materials provided by 42 are not my original work.
TU_NOMBRE
42 Madrid