Finally found the bug in battleship. Thank dog. I was gonna pull all my hair out