File:Battle Algorithm Explained.jpg