I'm making the boat game in C, and I'd like to know if there is a way to change the resolution at which the terminal runs.
When I run the program, the print doesn't fit and is warped:
And I have to manually stretch the terminal to a minimum resolution of 103x24 to get the correct printout:
Is there a way to make it run at this resolution directly?
You can use escape sequences to manipulate the terminal.
For example, this terminal command changes the size of the terminal to 90 columns by 30 rows:
This C program invokes the above command: