-e.g. is_legal() Checks if a square if occupied. However, generate_legal_moves() gathers all empty squares and then calls is_legal()
-Find out where to remove it.
-If removed from is_legal(), ensure every is_legal() is preceded by an 'is occupied' check.
-e.g. is_legal() Checks if a square if occupied. However, generate_legal_moves() gathers all empty squares and then calls is_legal() -Find out where to remove it. -If removed from is_legal(), ensure every is_legal() is preceded by an 'is occupied' check.