Expressing the pieces of a chessboard as vectors to the opposing king was, I thought, quite an innovative approach to the CodeWars "Is the King in check?" challenge! In this video I explain the idea, and walk through the code, including the reasoning I used to arrive at the solution.
Regex one liner solution: • This INSANE Regex Hack Solves Chess i...
Part 2 of the regex solution: • Part 2: Evil Regex Hacking in Codewar...
Codewars challenge: https://www.codewars.com/kata/5e28ae3...
Website: https://therandomcoder.com
GitHub: https://github.com/williamforty
Facebook: / therandomcoder
Watch video Vectors to the King - Mathematically Calculating if the King is in Check, Codewars Solution, Part 3 online, duration hours minute second in high quality that is uploaded to the channel TheRandomCoder 02 March 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 757 times and liked it 38 visitors.