In this video I share with you my solution for the CodeWars "Is the King in check?" challenge. Inspired by a recent tic-tac-toe challenge, I imposed an additional constraint to use a regex to determine if the king is in check. The result was a satisfying and somewhat mind-blowing one liner!
Codewars challenge: https://www.codewars.com/kata/5e28ae3...
My solution (please upvote!!):
https://www.codewars.com/kata/reviews...
Inspired by Tic Tac Toe challenge: https://www.codewars.com/kata/582e045...
Website: https://therandomcoder.com
GitHub: https://github.com/williamforty
Facebook: / therandomcoder
Смотрите видео This INSANE Regex Hack Solves Chess in Seconds—You Won’t Believe How! онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал TheRandomCoder 17 Январь 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 51,004 раз и оно понравилось 2.4 тысяч посетителям.