The "setting_up" project is an program developed in C language. It is a first semester project of the elementary programming module in C at Epitech (B-CPE-110).
It is an Algorithm for finding the largest pssible square on map a while avoiding obstacle. you can solve a two type of map. In first a map read in file (.txt), and genreate your own map.
-
Clone the repository :
git clone https://github.com/ZeHack0/Setting-Up.git
-
Navigate to the project directory :
cd (name of directory project) -
Compile the project :
make
This command uses the Makefile to compile the project. Ensure that the Makefile is correctly configured for your environment.
-
From a file :
./space_hunter name_map.txt | cat -e -
From a generate map :
./space_hunter [size_of_map] [pattern of the map] | cat -e
-
This is an example of an maps:
9 ............................ ....o....................... ............o............... ............................ ....o....................... .............o.............. ............................ ......o...............o..... ..o.......o.................
- Ronan BOTREL | Github