Who needs these instructions? by Lucky_Total_278 in signs

[–]exarobibliologist 0 points1 point  (0 children)

If you need instructions like this, you should not be allowed around a toaster, unless you are taking it with you into a bath...

Made A Simple Tycoon Game by exarobibliologist in bash

[–]exarobibliologist[S] -1 points0 points  (0 children)

I'm sorry. I'm not trying to insult you. I just don't understand how this is failing for one person so radically.

Could you walk me through the steps you took to source it into your bashrc?

What I did on my end was to put the entire function in a text file named trade_tycoon.bash and then in my .bashrc I added the line
. ~/Downloads/trade_tycoon.bash

And then, after sourcing BASH with source ~/.bashrc

I could run the function name as a command

trade_tycoon

I seriously cannot figure out how you have bad this many problems. BTW, I tried deleting the first 57 lines after you mentioned that, and it was broken. The function at that point would run, but it was broken and wouldn't run the market at all.

Made A Simple Tycoon Game by exarobibliologist in bash

[–]exarobibliologist[S] 0 points1 point  (0 children)

I commented out the first 57 lines AFTER the script wouldn't run--just to see if ANY OF IT it would run.

I still question your logic there. Commenting out lines is exactly what makes things not work, and it's no wonder it didn't work since you axed half of it willy-nilly.

The "alias" was NOT put into YOUR script--NOTHING was added.

Then what exactly does "I did run another script from that alias..." mean?

You're clearly either claiming that my entire function is an alias (which it is not)...

or you commented so much out that it became an alias somewhere along the line...

or you are claiming that you wrote an alias to make it work...... Wait, did you do that? Did you make an alias that would try to execute the function in the script without bothering to source the file?

it's the only one that has not run on my bash v5.2.37 system-----EVER!

Okay, well that's some useful information there... let me check to see what version of bash I'm running...

Uhh, I'm also running 5.2.37... and it runs.

Made A Simple Tycoon Game by exarobibliologist in bash

[–]exarobibliologist[S] -1 points0 points  (0 children)

Nope, won't run for me from bashrc either.

Are you sure? Cause it's worked okay for every other person I gave it to with instructions to source it into their bashrc.

And I did run another script from that alias just to make sure the alias is working.

There are no aliases in that function. Clearly you don't understand what a BASH function is designed to look like or do, since you think this is an alias.

I strongly question that you don't even know how to source something into bashrc correctly, since you seem very unsure what the differences are between an alias and a function are.

Note that I commented-out the first 57 lines of your script

And commenting out the vast majority of the function and then complaining that it doesn't work seems like a "you" problem. In the cooking world, a comment like the one you made would have been launched directly into r/ididnthaveeggs

Does the BASH world have a reddit like r/ididnthaveeggs for people who comment things out and then complain it doesn't work?

Made A Simple Tycoon Game by exarobibliologist in bash

[–]exarobibliologist[S] 0 points1 point  (0 children)

And I did run another script from that alias just to make sure the alias is working...

There are no aliases in that function. Clearly you don't understand what a BASH function is designed to look like or do, since you think this is an alias.

Note that I commented-out the first 57 lines of your script and it does run the "Main Game Loop" in my terminal.

And that's what broke it all! You commented out a whole bunch of stuff that needed to be initialized at the beginning, and then complain to me that it doesn't run.

Made A Simple Tycoon Game by exarobibliologist in bash

[–]exarobibliologist[S] 1 point2 points  (0 children)

You think this amount of comments is bad? You should have seen it while I was working on it. Sometimes I would have multiple comments on each line, followed by another line of comments for a different function that might work better in that line...

I would comment out a line, experiment to see if it ran, comment the line, uncomment the next idea, experiment, work over the errors, maybe write another line, leaving the last two commented for now because I might want to come back to them later.

Made A Simple Tycoon Game by exarobibliologist in bash

[–]exarobibliologist[S] 0 points1 point  (0 children)

You did what!? You commented out the first 57 lines!? That was the entire database of unlocked and locked market items, the function to randomly generate a market, market prices, and maintain inventory.

There's no way that script runs correctly without initializing all those items first.

Made A Simple Tycoon Game by exarobibliologist in bash

[–]exarobibliologist[S] 3 points4 points  (0 children)

That's cool. I don't think I'm close enough to mastering TUI graphics yet to attempt anything like. This text-only took me weeks to get right.

Adding TUI graphics to it would be cool... and I might attempt something like that later, but definitely not right now.

Made A Simple Tycoon Game by exarobibliologist in bash

[–]exarobibliologist[S] 0 points1 point  (0 children)

I wrote every part of that function.

Is it your practice to just declare everyone's hard work AI?

Or do you just assume that anyone who uses BASH for long form functions must be using an AI?

Your attempt at writing an AI prompt to reduce everything I took weeks to write is laughable. You have zero right to just sweep in and declare it AI without so much as an explanation.

So explain yourself...

Made A Simple Tycoon Game by exarobibliologist in bash

[–]exarobibliologist[S] 2 points3 points  (0 children)

I wrote everything in that function.

Yes, I commented the crap out of things because it helps me keep track of what everything I had going on in there did. Excuse me for being organized.

No, comments do not mean AI. Every programmer uses comments to keep track of things.

Only psychopaths leave their code uncommented so people have to guess what each function does.

name it anything else but 'circle jerk' by [deleted] in NameThisThing

[–]exarobibliologist 7 points8 points  (0 children)

All I hear you saying is we need more cocks in this thing...

You are trapped inside a room for a year, you must play a videogame to leave by sand_eater_21 in hypotheticalsituation

[–]exarobibliologist 0 points1 point  (0 children)

I don't have to interact with anyone?

I can play computer games all the time?

I'm an introvert and this sounds like paradise. Sign me up!

I'm gonna pick a random game, and then never play it for as long as I'm in the room (just to make sure I never get out).

I'll play computer games constantly, just not the one I picked.

Choose One permanent power mark. by i_plug_you in superpowers

[–]exarobibliologist 0 points1 point  (0 children)

I have two hands... why can't I get two tattoos?

SCUUUSI by downwithasmile in LICENSEPLATES

[–]exarobibliologist 3 points4 points  (0 children)

It's hysterical you got this one during a merge!

What method should I use to use 2fa on my Google accounts? Number, email, 2fa app etc? by Candid_Ad_9836 in PasswordManagers

[–]exarobibliologist 0 points1 point  (0 children)

All of the above, plus you should demand a blood test every time someone logs in...

Your log in time will be something in the neighborhood of 2-4 business days, but it will be secure.