Bug fix: alive check function now correctly checks enemy board