implementing battle logic started