Download (clone code) from this repository and add Sever and Client folders to Server and Client machines respectively.
On all client machines and server machine install Python 3.7.4. Install from here
for windows machines
python get-pip.py
for mac/linux
python3 get-pip.py
for windows use
pip install --upgrade pip
for mac/linux
pip3 install --upgrade pip3
for windows run
pip install -r requirements.txt
for mac/linux
pip3 install -r requirements.txt
make sure that requirements.txt is in your working directory. If requirements not installed properly, install all requirements from requirements.txt manually.
Make necessary changes to \code\solver\input.txt
or \code\generator\map_input.txt
(please watch code presentation, to know necessary details)
to run solver, run the following commands (we assumed your current directory is code)
to run solver on windows,
cd solver
python solver.py < input.txt
to run solver on linux/macOS,
cd solver
python3 solver.py < input.txt
to generate map on windows,
cd generator
python generate_map.py < map_input.txt
to generate map on linux/macOS,
cd solver
python3 generate_map.py < map_input.txt