Skip to content

Algorithm for finding the largest possible square on a game board while avoiding obstacles. The array can be obtained in two ways. The first involves reading a file passed as an argument to the program. Project for semester 1 of the Epitech Elementary Programming in C module (B-CPE-110).

License

Notifications You must be signed in to change notification settings

WilliamJlvt/setting_up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elementary Programming in C - Setting Up

Project for semester 1 of the Epitech Elementary Programming in C module (B-CPE-110).

Introduction

Algorithm for finding the largest possible square on a game board while avoiding obstacles. The array can be obtained in two ways. The first involves reading a file passed as an argument to the program.

The full description of the project can be found in subject.pdf.

Prerequisites

Installation

B-PSU-100> git clone [email protected]:WilliamJlvt/setting_up.git
...
B-PSU-100> make
...

Usage

valid file:

B-CPE-110> cat -e example_file
9$
...........................$
....o......................$
............o..............$
...........................$
....o......................$
..............o............$
...........................$
......o..............o.....$
..o.......o................$

Classic execution

B-CPE-110> ./setting_up example_file | cat -e
.....xxxxxxx................$
....oxxxxxxx................$
.....xxxxxxxo...............$
.....xxxxxxx................$
....oxxxxxxx................$
.....xxxxxxx...o............$
.....xxxxxxx................$
......o...............o.....$
..o.......o.................$

Generating execution

B-CPE-110> ./setting_up 6 “..o..” | cat -e
..oxx.$
.o.xx.$
o....o$
....o.$
...o..$
..o...$

Results

test passed results
Algorithm app 22/22 100%
Basics 6/6 100%
Data structure 6/6 100%
Optimization 16/16 100%
Parsing 3/3 100%
Robustness 25/28 89.3%
Total 78/81 96.3%

Coding style

All the source code has been written according to the Epitech C Coding Style.

errors

Fatal Major Minor Info
0 0 0 0

Authors

License

This project is licensed under the GNU Public License version 3.0 - see the LICENSE file for details.

About

Algorithm for finding the largest possible square on a game board while avoiding obstacles. The array can be obtained in two ways. The first involves reading a file passed as an argument to the program. Project for semester 1 of the Epitech Elementary Programming in C module (B-CPE-110).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published