In Niemanns case people have joked about vibrating anal beads communicating in morse code as well as shoe inserts.
It's a shoe-to-Pi device called Sockfish (a pun on the Stockfish chess engine): https://incoherency.co.uk/blog/stories/sockfish.html
Cheating at chess with a computer for my shoes: https://news.ycombinator.com/item?id=32729105
Generally there are some more options: - using a small bluetooth headphone with external person telling you the moves - a vibrating device on the body that vibrates you the moves
both need a live broadcast of the game
That's a relatively low tech solution, it gets crazier from there as other people are saying here.
People might scoff but honestly, chess players have worried about this sort of stuff for decades. The '78 world championship between Karpov and Korchnoi for example, is a lesson in this kind of cheating - I'm thinking of the yogurt controversy in particular.
I don't believe for a moment that Karpov or his team were cheating in '78 (at least not in that way) but the fact that they weren't is really the salient point - it is very difficult to ignore the idea that your opponent might be cheating once the possibility has been suggested.
That is to say, trust in your opponent is a very important element of competitive play.