lukasmonk / lucaschessR2

Lucas Chess R Version 2
GNU General Public License v3.0
255 stars 36 forks source link

Quality of life tweak: Auto-rotate board based on names #112

Open Lingepumpe opened 9 months ago

Lingepumpe commented 9 months ago

A small improvement that would make life analyzing my online games a bit smoother: Automatically rotate the game board so that it is from my view. This could be a checkbox option that by default uses the Lucas user-name, and if the black player is this user-name it will rotate the board. A more flexible option would allow to specify a list of names (I assume some people have a few accounts on various chess sites, with different names), and then on png load the names of both players would be compared with each name in the list - if there is a match then leave board from white perspective if white matched, rotate if black matched, and abort the matching procedure on the first match - this way the order of names would provide a priority. Not sure what the best way to get a list of names would be, maybe just comma separated and hope people don't have commas in their names? :D

lukasmonk commented 9 months ago

I take note of the idea to use it in Replaying a game by editing a game/Utilities database, thank you.