A downloadable game

--- Welcome To My Parlour ---

Written by Sander Alsema for the 10-liner competition 2022.


Language: Commodore 64 Basic v2

Category: PUR-80


--- Description & Instructions ---

That's an other fine mess you've gotten yourself into!

Having smelled the sweet scent of a rotting carcass, you accidentally

wandered into a room crowded with hungry spiders. This is definitely not an

ideal situation for a common housefly to be in.

You must manoeuvre between the spiders that are dangling from the ceiling

and reach the other side unscathed. Every time you succeed in this, you

will rise one level. It takes ten levels for you to escape and win the

game. However, if a spider does manage to catch you, it's game over for

you.


These are the controls:

 - Press '>' to move forward.

 - Press '<' to move backward.


--- Code Explanation ---

Line 0: Make a string with quotation marks. These will become the feet of
        the fly.
        Read the following strings from data elsewhere in the program:
        The rest of the fly, The wing colours of the fly, The victory text
        and The spider.
        By repeating construct a string with spider thread and a vertical
        orientation string.
        Set the vertical position of the fly string.
Line 1: By repeating set the five vertical positions of the spiders and
        their height destinations to randomly generated values.
        Construct the complete string of the fly.
Line 2: Set the wing colour indicator.
        Set the background colour to black.
        Clear the screen and display the current altitude of the fly.
        Set the horizontal position of the fly string.
        The rest of the line contains data for the following strings:
        The rest of the fly and The wing colours of the fly.
Line 3: Start the repeat cycle for the displaying of the five spiders and
        their threads on their respective positions.
        If the fly has reached the 11th vertical screen position (10th
        altitude) then set the final text display string to the victory
        text and jump to line 8.
Line 4: Read the keyboard.
        Let the spiders ascend/descend one position towards their height
        destinations.
        If a spider has reached its height destination, then randomly
        generate a new one.
Line 5: If the key pressed was '>' or '<' (actually ',' or '.'), then
        calculate a new value for the horizontal position of the fly.
        If that value is equal or greater than zero, then it becomes the
        new horizontal position of the fly.
        If the fly has reached the far right side of the screen, then
        move it up one position and jump to line 2.
Line 6: Display the fly on the screen with alternating wing colours.
        (Black makes the wing invisible, grey makes it visible)
        Increase the wing colour indicator.
        If the wing colour indicator is too high, then reset it.
        The rest of the line contains data for the victory text string.
Line 7: Calculate a screen memory position near the fly.
        At this point complete the repeat cycle for the displaying of the
        spiders.
        Use the earlier calculated position to see if the area around the
        fly is clear on three places. If so, then jump to line 3.
Line 8: Clear the screen, display the final altitude of the fly and the
        "GAME OVER" text. In case of jumping from line 3, the victory
        text will also be displayed.
        Clear the keyboard buffer.
Line 9: This line contains data for the spider string.
        Wait until a key is pressed.
        Restart the game.

---

Download

Download
Commentary for Welcome To My Parlour.txt 4 kB
Download
Welcome To My Parlour.d64 170 kB
Download
Welcome To My Parlour - Proof.png 7 kB

Install instructions

I prefer VICE, but you can use any emulator that works with *.d64 files.

If you haven't installed it yet, it can be downloaded from their website.

Here's how to use it:

 Click : File -> Attach disk image -> Drive 8

 Select: Welcome To My Parlour.d64

 Click : Attach

Now, just as you would with a normal Commodore 64, you can type:

 LOAD"$",8                (to load the directory)

 LOAD"PARLOUR",8          (to load the game)

 LIST                     (to view the directory or game listing)

 RUN                      (to run the game)

Be aware that you are now using a virtual Commodore 64 keyboard.

Therefore the keys will differ slightly from your physical keyboard.

Use <SHIFT> '2' to display quotation marks.

Leave a comment

Log in with itch.io to leave a comment.