helpers module
Helper functions used in __main__.py.
Name: heplers.py
- Authors:
- Jurre Brandsen
- Lennart Klein
- Thomas de Lange
LICENSE: MIT
-
helpers.calculate_delta(a, b)[source]
Delta distance between two coords.
| Parameters: |
|
| Return type: | interger
|
-
helpers.calculate_distance(a, b)[source]
Calculate the distance between two points on the board (manhatan).
| Parameters: |
- a (tuple) – the first point on the board
- b (tuple) – the second point on the board
|
| Return type: | interger
|