printf-tac-toe
printbf
printf-tac-toe | printbf | |
---|---|---|
18 | 6 | |
2,029 | 586 | |
- | 0.0% | |
0.0 | 0.0 | |
almost 2 years ago | about 3 years ago | |
C | Brainfuck | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
printf-tac-toe
- A C implementation of tic-tac-toe in a single call to printf
- Printf-tac-toe: tic-tac-toe in a single call to printf
- Tic-tac-toe in a single call to printf
- GitHub – carlini/printf-tac-toe: tic-tac-toe in a single call to printf
- Printf-Tac-Toe
- Tic-tac-toe implemented in a single call to printf
- A c implementation of tic-tac-toe in a single call to printf.
-
Few lesser known tricks, quirks and features of C
Somewhat related to this, printf alone in a loop is Turing-complete, by using %-directives like that. It was introduced in “Control-Flow Bending: On the Effectiveness of Control-Flow Integrity” (Carlini, et al. 2015) and the authors have implemented Brainfuck and an obfuscated tic-tac-toe with it.
[0]: https://nebelwelt.net/publications/files/15SEC.pdf
[1]: https://github.com/HexHive/printbf
[2]: https://github.com/carlini/printf-tac-toe
-
Rule
My favourite is still that printf is Turing Complete
-
Hacker News top posts: Jun 8, 2022
C implementation of Tic-Tac-Toe in a single call to printf\ (17 comments)
printbf
-
Few lesser known tricks, quirks and features of C
Somewhat related to this, printf alone in a loop is Turing-complete, by using %-directives like that. It was introduced in “Control-Flow Bending: On the Effectiveness of Control-Flow Integrity” (Carlini, et al. 2015) and the authors have implemented Brainfuck and an obfuscated tic-tac-toe with it.
[0]: https://nebelwelt.net/publications/files/15SEC.pdf
[1]: https://github.com/HexHive/printbf
[2]: https://github.com/carlini/printf-tac-toe
-
Controling a Super-Intelligent AI is Impossible, Says Researchers
No shit, you can write a brainfuck interpretter in printf statements: https://github.com/HexHive/printbf
-
The International Obfuscated C Code Contest 2020 winners
https://github.com/HexHive/printbf
well this is a brainfuck interpreter inside printf. I’m pretty sure there are plenty of c-to-bf transpilers.
What are some alternatives?
tinyformat - Minimal, type safe printf replacement library for C++
OWASP-Xenotix-XSS-Exploit-Framework - OWASP Xenotix XSS Exploit Framework is an advanced Cross Site Scripting (XSS) vulnerability detection and exploitation framework.
C++ Format - A modern formatting library
xenocryst - A brainfuck interpreter written for memcpy(). Read the paper (or source) for more details.
talent-plan - open source training courses about distributed database and distributed systems
turing - A reference implementation of Alan Turing's 1936 paper, On Computable Numbers
moonlight-docs - Moonlight Documentation
elvm - EsoLangVM Compiler Infrastructure
meta
google-ctf - Google CTF
papers
turing_machine - A simple C program to emulate two symbol turing machine