giewev / Classy

MIT License
1 stars 0 forks source link

Get engine ready for website redeployment #5

Closed giewev closed 7 years ago

giewev commented 7 years ago

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.