top of page

Area bro downloads snowblower app onto iPhone, slays fresh white dump

  • G Papa Tango
  • Jan 25
  • 4 min read
ree

Once upon a chill AF day in the hood, my dude Chad woke up to find his crib buried under a fat layer of snow. Not one to let Old Man Winter cramp his style, he whipped out his iPhone, tapped into the App Store, and downloaded the illest snowblower app he could find. With a flick of his thumb, he was armed and ready to slay that fresh white dump.


Chad strutted out into the frozen wasteland that was his front yard, iPhone in hand like a modern-day snow warrior. The app guided him like a GPS, directing him where to aim his snow-destroying fury. With each swipe across the screen, the snow flew like confetti at a frat party.


Neighbors peeked out from behind their curtains, witnessing the legend of Chad unfold. They couldn't believe their eyes as he effortlessly conquered the winter onslaught with nothing but his phone and sheer determination.


By the time the sun set, Chad had transformed his once-buried abode into a winter wonderland worthy of Instagram fame. He kicked back with a victory brew, basking in the glory of his snow-slaying conquest. And thus, the legend of the iPhone-wielding snow warrior was born, spreading through the 'hood like wildfire.



FURTHERMOREOVERKILL



G Papa Tango, please write a program for a snowblower app game. Write it in LOLCODE.

 


Here's a simple example of a snowblower app game written in LOLCODE:

 

HAI 1.2

I HAS A NUM1 ITZ 0

I HAS A NUM2 ITZ 10

I HAS A GRIDLIST ITZ A NOOB

I HAS A GRIDSIZE ITZ 5

 

VISIBLE "WELCOME TO THE SNOWBLOWER GAME!"

VISIBLE "YOUR GOAL IS TO CLEAR THE SNOW FROM A 5X5 GRID."

 

VISIBLE "INITIALIZING GRID WITH SNOW..."

I HAS A I ITZ 0

IM IN YR LOOP

    BOTH SAEM I AN GRIDSIZE, BIGGER OF GRIDSIZE AN NUM1, O RLY?

        GTFO

    OIC

    I HAS A ROWLIST ITZ A NOOB

    I HAS A J ITZ 0

    IM IN YR INNERLOOP

        BOTH SAEM J AN GRIDSIZE, BIGGER OF GRIDSIZE AN NUM1, O RLY?

            GTFO

        OIC

        I HAS A SNOW ITZ "SNOW"

        I IZ PUSHING SNOW INTO ROWLIST

        UP J!!

    IM OUTTA YR INNERLOOP

    I IZ PUSHING ROWLIST INTO GRIDLIST

    UP I!!

IM OUTTA YR LOOP

 

VISIBLE "GRID INITIALIZED! CLEAR THE SNOW WITH YR BLOWER."

 

I HAS A PLAYERPOSX ITZ 0

I HAS A PLAYERPOSY ITZ 0

VISIBLE "SNOWBLOWER START POSITION: (0,0)"

 

IM IN YR GAMELOOP

    VISIBLE "ENTER COMMAND (UP, DOWN, LEFT, RIGHT, QUIT):"

    I HAS A COMMAND

    GIMMEH COMMAND

   

    BOTH SAEM COMMAND AN "UP", O RLY?

        BOTH SAEM PLAYERPOSY, 0, O RLY?

            VISIBLE "CANNOT MOVE UP! ALREADY AT TOP EDGE."

        NO WAI

            DOWN PLAYERPOSY!!

            VISIBLE "SNOWBLOWER MOVED UP."

        OIC

    OIC

   

    BOTH SAEM COMMAND AN "DOWN", O RLY?

        BOTH SAEM PLAYERPOSY, NUM1 SMALLR OF GRIDSIZE AN NUM2, O RLY?

            VISIBLE "CANNOT MOVE DOWN! ALREADY AT BOTTOM EDGE."

        NO WAI

            UP PLAYERPOSY!!

            VISIBLE "SNOWBLOWER MOVED DOWN."

        OIC

    OIC

   

    BOTH SAEM COMMAND AN "LEFT", O RLY?

        BOTH SAEM PLAYERPOSX, 0, O RLY?

            VISIBLE "CANNOT MOVE LEFT! ALREADY AT LEFT EDGE."

        NO WAI

            DOWN PLAYERPOSX!!

            VISIBLE "SNOWBLOWER MOVED LEFT."

        OIC

    OIC

   

    BOTH SAEM COMMAND AN "RIGHT", O RLY?

        BOTH SAEM PLAYERPOSX, NUM1 SMALLR OF GRIDSIZE AN NUM2, O RLY?

            VISIBLE "CANNOT MOVE RIGHT! ALREADY AT RIGHT EDGE."

        NO WAI

            UP PLAYERPOSX!!

            VISIBLE "SNOWBLOWER MOVED RIGHT."

        OIC

    OIC

   

    BOTH SAEM COMMAND AN "QUIT", O RLY?

        VISIBLE "THANK YOU FOR PLAYING!"

        GTFO

    OIC

   

    I HAS A CLEARCHECK ITZ "CLEARING SNOW AT (" AN CONCAT (PLAYERPOSX, CONCAT (",", CONCAT (PLAYERPOSY, ")")))

    VISIBLE CLEARCHECK

   

    I HAS A ROW ITZ GRIDLIST'Z PLAYERPOSY

    I HAS A CELL ITZ ROW'Z PLAYERPOSX

    BOTH SAEM CELL AN "CLEARED", O RLY?

        VISIBLE "ALREADY CLEARED!"

    NO WAI

        ROW'Z PLAYERPOSX R "CLEARED"

        VISIBLE "SNOW CLEARED!"

    OIC

 

    I HAS A CLEAREDCHECK ITZ 1

    I HAS A X ITZ 0

    IM IN YR CHECKLOOP

        BOTH SAEM X AN GRIDSIZE, BIGGER OF GRIDSIZE AN NUM1, O RLY?

            GTFO

        OIC

        I HAS A ROWCHECK ITZ GRIDLIST'Z X

        I HAS A Y ITZ 0

        IM IN YR CHECKLOOP2

            BOTH SAEM Y AN GRIDSIZE, BIGGER OF GRIDSIZE AN NUM1, O RLY?

                GTFO

            OIC

            BOTH DIFFRINT OF ROWCHECK'Z Y AN "CLEARED", O RLY?

                CLEAREDCHECK R 0

                GTFO

            OIC

            UP Y!!

        IM OUTTA YR CHECKLOOP2

        UP X!!

    IM OUTTA YR CHECKLOOP

 

    BOTH SAEM CLEAREDCHECK AN 1, O RLY?

        VISIBLE "CONGRATS! ALL SNOW CLEARED!"

        GTFO

    OIC

IM OUTTA YR GAMELOOP

 

VISIBLE "GAME OVER!"

KTHXBYE

 


ree

Explanation:

  • The game simulates a 5x5 grid where the player controls a snowblower.

  • The player can move the snowblower up, down, left, or right, trying to clear all the snow on the grid.

  • The game ends when all the snow is cleared, or the player quits.

LOLCODE is a novelty programming language based on the language used by the "LOLcats" internet meme, so this is a simple and humorous example of how you might approach creating a snowblower game in that language.







Comments


© 2024 by Wealthy Place Post. 

bottom of page