Intercal
(Abandon all sanity, ye who enter here.)There are quite a few obfuscated programming languages around, but INTERCAL was arguably the first.
I've implemented the Game of Life in INTERCAL. The original cell configuration is set up at lines 7-11, and the number of generations is determined by the number of "don't reinstate" lines in the chunk of code with labels (31) through (36). The output for each generation will be 8 integers. When you look at the binary representations of these numbers, one above another, the binary 1s will represent living cells in the old-style graphical life board fashion.
Discuss this page
Disclaimer: I am not responsible for what people (other than myself) write in the forums. Please report any abuse, such as insults, slander, spam and illegal material, and I will take appropriate actions. Don't feed the trolls.
Jag tar inget ansvar för det som skrivs i forumet, förutom mina egna inlägg. Vänligen rapportera alla inlägg som bryter mot reglerna, så ska jag se vad jag kan göra. Som regelbrott räknas till exempel förolämpningar, förtal, spam och olagligt material. Mata inte trålarna.
Fri 11-Dec-2020 18:53