Splitting cpu() into two routines, one for each warrior