https://www.dailydishnews.org.uk/post/chess-in-sql-lz7bvm