battle logic and test run implemented