Update battleinterface.py

build in distance and new feature: engines