BlazeOrange.ninja

About Me Disclaimer Badges Contact Me

Cursed Hello World

A long time ago at the prompting of some other wacky Hello World thing, I devised my own repungnant Hello World program to scare off mere mortals. That one is lost to the depths of time and switching instances (possibly a story for another time) so I've created another one here. May God have mercy on us all for this:

using System;
using System.Linq;

public class Program
{
    public static void Main()
    {
        Console.WriteLine(
            string.Join("", 
                Enumerable.Repeat<int>(0,12).Select((x,i) => (char)(97 + (
                (
                    7 
                    + (i%6 != 0 ? 20 * (i%6) : 0) 
                    + (i % 6 > 1 ? 10 + ((i-2)%6 * 3) : 0) 
                    + (i/6 == 1 && i % 6 != 0 ? (i-6)*10 : 0)
                    + (i%4 == 0 && i/4 != 0 ? 3 + 6 * ((i/4)-1) : 0)
                    + (i > 8 ? (10 - i) * 16 - 2 * ((i+1)%10) : 0)
                ) % 23) 
                + (i % 6 == 0 ? -32 + (15*(i/6)) : 0) 
                + (i%6 == 5 ? -76 - (6 * (i/6)) : 0)
            )))
        );
    }
}

This random flailing on the keyboard spits out Hello World! due to the ridiculous math involved. After that, it soon enters the world of Zalgo.

Here's 250 characters of the mess (just change Enumerable.Repeat<int>(0,12) to Enumerable.Repeat<int>(0,250) to get it):

Hello World!O[PUom_XY^○sO[`^↓|S^MR■—ZOQa→¥^MX]ᅰ¤KW\Pᅮ·RSLQ￑ÅVKPVᅭà]YTY￐éaV[\ᄎòN\_MᄌčUaOKᄊĘYKSXᄋı`UWNᄉĪMQ^L゚ľQ]KTンœXWRWロş\QVZワżL]Z_テƃP\a`トƎT`NSツƧ[PUOタƴ_OY^ェƴO[]RィdžSUMRゥǘWLQXァǯ^[X]・ǹKW\^oȁRa`NmȝVKPMnȪZMTYlȪaV[SSȹNS_MTɎUaLVRɢYYSXSɲ]RW\QɴM_^L8ʓQ]KK9ʝXNO

If you're bored enough one day, you too can make your own code abomination of your very own!

Day 8 of #100DaysToOffload


This website is designed to last.