Code Example Writing in Visual Studio Code

There's a free text editor out there called Visual Studio Code that works on Mac and Windows. I use it at work for software development. It tries to not be too big or complicated.

After I found and installed the Extension ink language from the marketplace I found that writing was easier:

* Syntax highlighting - The ink language has a few key words and symbols. Having them show up in different colors is so good.
* Syntax checking - If I misspell a knot, divert, etc. then it shows up with a red squiggle just like a misspelled word in Word. That makes it easier to track down what I did wrong. Especially since I get them as I type.
* Missing syntax - I also get red squiggles when I didn't add a divert or something. I love that it tells me I need more code stuff. I can trust the text editor to be watching that so I can focus on the prose.

1782361843839.png

https://code.visualstudio.com/download
https://marketplace.visualstudio.com/items?itemName=drincs-productions.pixi-vn-ink-vscode
 
There's a free text editor out there called Visual Studio Code that works on Mac and Windows. I use it at work for software development. It tries to not be too big or complicated.

After I found and installed the Extension ink language from the marketplace I found that writing was easier:

* Syntax highlighting - The ink language has a few key words and symbols. Having them show up in different colors is so good.
* Syntax checking - If I misspell a knot, divert, etc. then it shows up with a red squiggle just like a misspelled word in Word. That makes it easier to track down what I did wrong. Especially since I get them as I type.
* Missing syntax - I also get red squiggles when I didn't add a divert or something. I love that it tells me I need more code stuff. I can trust the text editor to be watching that so I can focus on the prose.

View attachment 2641454

https://code.visualstudio.com/download
https://marketplace.visualstudio.com/items?itemName=drincs-productions.pixi-vn-ink-vscode
I don't see anyone else posting their story from soup to nuts. I'll take a stab at it but no promises I'll ever get this thing published. I have the attention span of a squirrel sometimes.

First off, Ink seems to lend itself to an outline format so I tried to do that with differing levels of asterisk characters. (Side note, we have a ton of languages for code samples but not Ink... what the heck.) Pardon the markdown formatting. It's still prettier than plain text.

Markdown (GitHub flavored):
/*
    https://www.literotica.com/faq/interactive-stories/interactive-stories-getting-started
    https://www.literotica.com/faq/interactive-stories/interactive-stories-choices
    https://www.literotica.com/faq/interactive-stories/interactive-stories-variables
    https://www.literotica.com/faq/interactive-stories/interactive-stories-conditionals
    https://videlais.github.io/Unofficial-Ink-Cookbook/

    20 Knots
    40 Choices
    1000 words of narrative text



    Your Parents, Fucking
 */


- Your parents come home from a date drunk and horny. They think the kids are asleep.
* [Listen]
** [Stay in bed]
*** [Jack off]
*** [Freak out]
**** [Confront Mom in the kitchen]
*** [Fall asleep and have a nocturnal emission]
** [Leave your room]
*** [Pause and listen]
**** [Listen at sister's door]
***** [Enter sister's bedroom]
****** [Fuck sister tenderly while listening to parents]
****** [Mutual masturbation while listening to parents]
****** [Tell her she's a sick fuck]
******* [Dirty sex with sister while listening to parents]
****** [Get embarrassed and go to bed]
**** [Jack off]
**** [Go to their bedroom door]
*** [Go to their bedroom door]
**** [Listen]
***** [Sister finds you]
****** [Fuck her quietly against the wall]
****** [Finger each other against the door]
****** [Tell her she's a sick fuck]
******* [Dirty sex with sister on the floor]
****** [Get embarrassed and go to bed]
*** [find the furthest point from your parent's bedroom]
**** [Confront Mom in the kitchen]
***** [Tender blowjob]
***** [Facefuck]
**** [Go to the backyard]
***** [Fuck the MILF neighbor]
***** [Fuck the teen neighbor]
* [Roll over and go back to sleep]
-> todo


== todo
- TODO
-> fin


== fin
- Your parents wake up sore.  Your mom is walking like a cowboy.  Your dad has a hand against his lower back.  They smile at each other.
-> END

I start with 4-5 items in the outline and keep building them either deeper or broader until I've covered such a huge number of options that I probably can't write them all. That's fine. I just want to get words down on paper so I can come back tomorrow, regret what I've done, and revise it in a new direction.

My plan is to use the `todo` knot as a stub so that the editor doesn't complain while I'm writing. My other plan is to have everything collect at the `fin` knot with a generic blurb that ends the story. I'm not sure they'll work as intended but I like having them.
 
The next step is to turn the outline into knots and diverts and stuff.

I want to get a feel for the structure of the story. How many ways it could work out. Any connections I missed. If it's possible to flow backward to an earlier point I thought was closed off. Spots that will need to be written in a way to accept multiple paths that could have led there.

I don't want to get too caught up writing the story until I've got a really good idea of how you could have gotten to that point. A good story will accommodate a number of (maybe very different) paths to get to a certain point. Or have some code written that limits the paths the reader can take.

Ink Explorer gives a nice graphical view of these paths.

View attachment 2641461

Markdown (GitHub flavored):
/*
    https://www.literotica.com/faq/interactive-stories/interactive-stories-getting-started
    https://www.literotica.com/faq/interactive-stories/interactive-stories-choices
    https://www.literotica.com/faq/interactive-stories/interactive-stories-variables
    https://www.literotica.com/faq/interactive-stories/interactive-stories-conditionals
    https://videlais.github.io/Unofficial-Ink-Cookbook

    20 Knots
    40 Choices
    1000 words of narrative text



    Your Parents, Fucking
 */


- Your parents come home from a date drunk and horny. They think the kids are asleep.
-> your_bedroom


== your_bedroom
- In your bedroom
* [Listen]
** [Stay in bed]
*** [Jack off]
*** [Freak out] -> kitchen
*** [Fall asleep and have a nocturnal emission]
** [Leave your room] -> hallway
* [Roll over and go back to sleep]
-
-> fin
= chicken_out
You are traumatized for life.
-> fin

== hallway
- In the hallway
* [Pause and listen]
** [Listen at sister's door]
*** [Enter sister's bedroom] -> sister_bedroom
* [Go to their bedroom door] -> outside_mom_and_dad_bedroom
* [Find the furthest point from your parent's bedroom] -> kitchen
* [Chicken out and go back to bed] -> your_bedroom.chicken_out
-
-> fin


== sister_bedroom
- In your sister's bedroom
* [Fuck sister tenderly while listening to parents] -> sex.sister_tender
* [Mutual masturbation while listening to parents] -> sex.sister_mastrubation
* [Tell her she's a sick fuck]
** [Dirty sex with sister while listening to parents] -> sex.sister_dirty
* [Get embarrassed and go to bed] -> your_bedroom.chicken_out
-
-> fin


== outside_mom_and_dad_bedroom
- Outside mom and dad's bedroom
* [Listen]
** [Sister finds you]
*** [Fuck her quietly against the wall] -> sex.sister_tender
*** [Finger each other against the door] -> sex.sister_mastrubation
*** [Tell her she's a sick fuck]
**** [Dirty sex with sister on the floor] -> sex.sister_dirty
*** [Get embarrassed and go to bed] -> your_bedroom.chicken_out
* [Chicken out and go back to bed] -> your_bedroom.chicken_out
-
-> fin


== kitchen
- In the kitchen
* [Confront Mom in the kitchen]
** [Tender blowjob] -> sex.mom_tender
** [Facefuck] -> sex.mom_rough
* [Sneak back to bed] -> your_bedroom.chicken_out
-
-> fin


== backyard
- In the backyard
* [Fuck the MILF neighbor] -> sex.milf_neighbor
* [Fuck the teen neighbor] -> sex.teen_neighbor
-
-> fin


== sex
-
-> fin
= sister_tender
You push your sister against the wall with your body. Her tits smash against the wall, stimulating them more, but her back arches giving you better access to her dripping wet cunt. You fuck her against the wall whispering sweet nothings into her ear.
-> fin
= sister_mastrubation
You finger your sister as she stokes your cock. You look into each other's eyes.
-> fin
= sister_dirty
You push your sister to the floor on her knees. You fuck her in the ass telling her how loud she's going to be and how much trouble you're both going to be in.
-> fin
= mom_tender
You give a loving blowjob to your mom.
-> fin
= mom_rough
You facefuck your mom.
-> fin
= milf_neighbor
You fuck the MILF neighbor.
-> fin
= teen_neighbor
You fuck the teen neighbor.
-> fin


== todo
- TODO
-> fin


== fin
- Your parents wake up sore.  Your mom is walking like a cowboy.  Your dad has a hand against his lower back.  They smile at each other.
-> END
 
Back
Top