This PR fixes the issue where extra spaces in room lines are treated as valid (see issue #43).
The fix adds a ft_count_char to the project's libft.
The function is used to check that the room line contains 2 and only 2 spaces.
A map for testing this is added to maps/error/.
This PR fixes the issue where extra spaces in room lines are treated as valid (see issue #43).
The fix adds a ft_count_char to the project's libft. The function is used to check that the room line contains 2 and only 2 spaces. A map for testing this is added to maps/error/.