I'm not even sure if I should work on it, since Google says there's 10 to the 40th power amount of legal moves in chess, and that's an estimate...
chess.com