go back...

FSF Adventures - Part 2

Welcome to my second programming related blog post.

In my last article, I mentioned FSF Adventures - A retro text based game inspired by BBS Door game classics such as Barney Splat and Legend of the Red Dragon.

The code clearly works, here is some output showing a line of text that only shows if the TransphobiaToggle is set to true:

Screenshot

I made some tweaks to the code I posted. I changed the name of the function because it got quite long and it does one thing very well, so its now just a function for the gender selection.

Here is the code:

func GenderSheet() {
	ClearScreen()
	fmt.Println(red("Gender Creation"))
	fmt.Println()
	gender := 0
	for gender < 1 {
		fmt.Println("What is your gender?")
		fmt.Println("1) Cis Man")
		fmt.Println("2) Cis Woman")
		fmt.Println("3) Trans Man")
		fmt.Println("4) Trans Woman")
		fmt.Println("5) Non Binary")
		fmt.Println("6) Create your own gender")
		fmt.Print(red(PlayerName), ">")
		fmt.Scan(&gender)
		if gender == 1 {
			TransphobiaToggle = false
		} else if gender == 2 {
			TransphobiaToggle = false
		} else if gender == 3 {
			TransphobiaToggle = true
			fmt.Println("You recall from memory a text message you received the 
			other day. What is it again? Oh yeah! 'I've always wanted to fuck 
			a Trans Man!'")
			MashEnterKey()
		} else if gender == 4 {
			TransphobiaToggle = true
			fmt.Println("You recall from memory a text message you received the 
			other day. What is it again? Oh yeah! 'I've always wanted to fuck 
			a Trans Woman!'")
			MashEnterKey()
		} else if gender == 5 {
			TransphobiaToggle = true
			fmt.Println("You recall from memory a text message you received the 
			other day. What is it again? Oh yeah! 'I've always wanted to fuck 
			a Non Binary!'")
			MashEnterKey()
		} else if gender == 6 {
			fmt.Print("Enter your gender: ")
			reader := bufio.NewReader(os.Stdin)
			prompt, _ := reader.ReadString('\n')
			prompt2 := strings.TrimRight(prompt, "\n")
			TransphobiaToggle = true
			fmt.Println("You recall from memory a text message you received the 
			other day. What is it again? Oh yeah! 'I've always wanted to fuck a", 
			prompt2, "!''")
			MashEnterKey()
		} else {
			gender = 0
		}
	}
}

What does new code do?

I felt a bit uneasy leaving no direct option for trans men and trans women because we would likely pick “Boy/Man or Girl/Woman” and then the TransphobiaToggle would be set to false.

Trans people would be free of the transphobia! Which defeats the purpose of this toggle in the first place.

So I added a few more options. I added trans men, trans women, non binary and a custom input field. It does make the code longer, but it is far more inclusive for what I plan to do with this Toggle.

Stay Tuned!

© 2025 FailsafeDX • Theme Moonwalk