The LLMs that can play chess, i.e not make an illegal move every game do not play it simply by memorized plays.