functional battle! still no AI whatsoever, but fixed various bugs breaking movement and order. Now checks for wins too