This isn't the IP you're looking for
Wordle is basically a hangman variant, of which there must be many versions in almost every programming language out there – in Haiku you can even play hangman in the kernel debugger! But the NYT has bought the brand and copyright, and that's what will be the target of any enforcement actions.