Evil Regex Hacking in Codewars - An Outrageous Solution to Find if a King is in Check

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: My solution (please upvote!!): Inspired by Tic Tac Toe challenge: Website: GitHub: Facebook:
Back to Top