https://github.com/mguardia10/42piscine_bsq
My implementation of the 42madrid piscine final project.
https://github.com/mguardia10/42piscine_bsq
42 42born2code 42bsq 42madrid 42piscine 42piscine-c
Last synced: about 2 months ago
JSON representation
My implementation of the 42madrid piscine final project.
- Host: GitHub
- URL: https://github.com/mguardia10/42piscine_bsq
- Owner: MGuardia10
- Created: 2023-09-21T10:30:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-28T14:02:27.000Z (10 months ago)
- Last Synced: 2025-02-01T14:36:38.686Z (4 months ago)
- Topics: 42, 42born2code, 42bsq, 42madrid, 42piscine, 42piscine-c
- Language: C
- Homepage:
- Size: 94.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 42piscine_bsq
42 Piscine final project. BSQ aims to find the largest possible square within a map with obstacles and empty spaces.

You can see the subject [**HERE.**](https://github.com/MGuardia10/42cursus/blob/main/subjects/en/bsq_subject_en.pdf)
## Preview
## Installing and running the project:
1- Clone this repository
git clone https://github.com/MGuardia10/42pisicine_bsq.git
2- Navigate to the new directory and run `make`
cd 42piscine_bsq
make
3- Start the program by passing some maps to it, you can find a lot in maps directory:./bsq ...
If you want to try more maps, you can create new ones using `gen_map.pl` script.
perl gen_map.pl [LEN_LINES] [NBR_LINES] [DENSITY] >## Compiling the Program
The bsq program comes with a Makefile that includes the following rules:- `all`: compiles the program.
- `re`: recompiles the program.
- `clean`: removes obj directory with objects files.
- `fclean`: removes obj directory with objects files and bsq binary.## Disclaimer
> At [42School](https://en.wikipedia.org/wiki/42_(school)), almost every project must be written in accordance to the [Norm](https://github.com/MGuardia10/42cursus/blob/main/subjects/en/norm_en.pdf), the school's coding standard. As a result, the implementation of certain parts may appear strange and for sure had room for improvement.