The Chess Move Validation hole will go live in approximately 11 hours. Why not try and solve it ahead of time?
Levenshtein Distance in JavaScript in chars.