Battle controller