4 ms·
This guy wrote tic-tac-toe in a single call to printf for IOCCC 2020 competition: https://github.com/carlini/printf-tac-toe https://github.com/carlini/printf-t
by teleforce 2y ago
This guy wrote tic-tac-toe in a single call to printf for IOCCC 2020 competition:
https://github.com/carlini/printf-tac-toe https://github.com/carlini/printf-tac-toe
- tubs 2y agoIt’s very fun and impressive but it’s absolutely not a single call.
- rhdjebejdbd 2y agoMaybe a generous interpretation of the comment and a realisation that common language isn't always 100% precise would be better than pointless arguments about semantics. There is only a single printf written in the source code.
- tubs 2y agoThat I can agree with!
- philipwhiuk 2y agoI don't think it's an unreasonable criticism, otherwise the challenge is trivial: ``` function printg(arg) { printf(arg); } ```
- Ensorceled 2y agoThat, of course, isn't what they did.
- philipwhiuk 2y agoThey did put it in a while loop though, which, if my programming isn't completely out of date, is capable of calling the function more than once.
- paulddraper 2y agoThat is quite literally a work of art.