Need to put in a new way for users to have the best move chosen for their board position.
Current method of having things evaluated through a PHP eval is super insecure.
The ability to deploy as a web service would be neat, and a simple post with a FEN should be sufficient.
However I have no idea how to set up a web service in C++.
So I should learn that, but until I can do it right I should figure out a slightly less terrible way of accepting FEN input.
At the very least I can sanitize the input to the PHP script to only allow alphanumerics and a handful of other characters needed for the FEN.
Need to put in a new way for users to have the best move chosen for their board position. Current method of having things evaluated through a PHP eval is super insecure. The ability to deploy as a web service would be neat, and a simple post with a FEN should be sufficient.
However I have no idea how to set up a web service in C++. So I should learn that, but until I can do it right I should figure out a slightly less terrible way of accepting FEN input.
At the very least I can sanitize the input to the PHP script to only allow alphanumerics and a handful of other characters needed for the FEN.