I made some changes and improvements to how this works. Instead of having a single option for not showing rank and file markers along the board, there are now multiple options for how to display each. The default option is auto, which will place them as before. This will put rank markers on the right and file markers at the bottom. Additionally, for hexagonal boards, it will include an extra set of file or rank markers for the slanted row used as a rank or file. You may also specify that file markers go on the top, bottom, both top and bottom, or not be displayed at all, and that rank markers go on the left, right, both left and right, or not be displayed at all.
I also changed how the board is turned upside down. It used to calculate how to display the board rightsideup, then swap locations of spaces. Now it just reverses three arrays before it starts to calculate how to display the board. After the FEN code gets expanded, it reverses it. And after the rank and file markers have been determined, it reverses them. Doing it this way does not introduce any discrepancies between how the rightsideup and upsidedown boards are positioned.
I made some changes and improvements to how this works. Instead of having a single option for not showing rank and file markers along the board, there are now multiple options for how to display each. The default option is auto, which will place them as before. This will put rank markers on the right and file markers at the bottom. Additionally, for hexagonal boards, it will include an extra set of file or rank markers for the slanted row used as a rank or file. You may also specify that file markers go on the top, bottom, both top and bottom, or not be displayed at all, and that rank markers go on the left, right, both left and right, or not be displayed at all.
I also changed how the board is turned upside down. It used to calculate how to display the board rightsideup, then swap locations of spaces. Now it just reverses three arrays before it starts to calculate how to display the board. After the FEN code gets expanded, it reverses it. And after the rank and file markers have been determined, it reverses them. Doing it this way does not introduce any discrepancies between how the rightsideup and upsidedown boards are positioned.