I have noticed that the terminal window doesn't resize on Linux (tested) and probably it is the same for all UNIX-based systems, but I'm not sure why is that happening, I recently installed Ubuntu and did some tests on the game. So I am keeping this issue up for now
I just fixed it, the problem was that the 'resize' command appears to be specific for xterm, so to fix that I used the ANSI escape sequence for resizing and it works properly now.
I have noticed that the terminal window doesn't resize on Linux (tested) and probably it is the same for all UNIX-based systems, but I'm not sure why is that happening, I recently installed Ubuntu and did some tests on the game. So I am keeping this issue up for now