[Nicholas Carlini] programmed a C implementation of two-player Tic Tac Toe, and he did it in a single call to printf(). The arguments for that single function call get mind-bendingly complex ...
The key lies in the printf.h header. This defines several functions that allow you to bend printf to your will. You have to provide two functions. The first takes an output stream, a structure of ...