I received an assignment to build the Snake game, and I provided with the following \'gotoxy\' function:
void gotoxy(int y, int x) { printf("\\x1b[%d