Python rule reference of oanaunc/4d_chess for Spectrally Encoding Chess4D-OC stuffs. 4D-OC rules in section 3, doi.org/10.3390/appliedmath6030048