fix bugs about battle
change GameCpu
add template file