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
Смотрите видео Vectors to the King - Mathematically Calculating if the King is in Check, Codewars Solution, Part 3 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал TheRandomCoder 02 Март 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 757 раз и оно понравилось 38 посетителям.