This project is for respond to the BlaBlaCar technical test that they have asked me to work on. The specifications are on this file specs/BlaBlaCar_Technical Test.md
Program for mowing a rectangular lawn surface with multiple mowers.
=> View CHANGELOG <=
pip and python3.8+ is required
$> pip install blablamower
$> curl -LO https://github.com/renardguill/BlaBlaMower/releases/download/v1.0.0/blablamower-1.0.0-py3-none-any.whl
$> pip install blablamower-1.0.0-py3-none-any.whl
poetry is needed
$> git clone https://github.com/renardguill/BlaBlaMower.git
$> cd BlaBlaMower
$> poetry build
$> pip install dist/blablamower-1.0.0-py3-none-any.whl
$> pip install blablamower --upgrade
The program expect an input file constructed in the following manner: :
The first line corresponds to the upper right corner of the lawn. The bottom left corner is implicitly (0, 0). The rest of the file describes the multiple mowers that are on the lawn. Each mower is described on two lines: The first line contains the mower's starting position and orientation in the format "X Y O". X and Y are the coordinates and O is the orientation. The second line contains the instructions for the mower to navigate the lawn. The instructions are not separated by spaces.
exemple :
5 5
1 2 N
LFLFLFLFF
3 3 E
FFRFFRFRRF
Mowing !!
$> blablamower ./inputfile.txt