Lemonade Stand
possiblywrong.wordpress.com
possiblywrong.wordpress.com
One thing that my game had that the original did not (and I don't know if I invented this or copied it from the version I played) was a hidden demand parameter that persisted between days. Advertising and word of mouth from satisfied customers would cause it increase, while customers going away empty-handed would cause it to decrease. That turned the game into a kind of clicker where the numbers could continue to go up and up. I also added the ability to save your game by serializing the game state to an image file, since that was the only way to save data on the TI-83 Plus that wasn't likely to be clobbered by another program.
1. https://pjvogt.substack.com/p/how-do-you-make-an-addictive-v...
I wore the buttons off my calculator and did 90%+ of my programming on it (only used the desktop app to write and push code to the calculator near the end of my time using it). Then I took a HS class on Java, taught myself PHP, and never really looked back to my calculator. TI-BASIC was a great start but so limiting once I discovered other languages.
I don't know if I would have been as confident to try programming later if I hadn't had that experience with TI-BASIC (indeed, a truly limiting language!).
I had a solver program where you’d pick the “style” of the math program (like “4x + 2 = 12” or similar) then be asked to plug in the “4”, “2”, and “12” from the previous example and it would solve for “x”.
Similarly, my little brother inherited my Ti-83+ and spread all the personal software I had written to his entire class: a simple kinematics solver (byebye thinking about intro physics homework), blackjack/21 (Vegas dealer rules, no splits), and several chemistry homework utilities.
Needless to say, teachers were not impressed with my/his cleverness.
So my new thought: is this a good game hack? I think if it were being played competitively in a classroom, as this game commonly was, it could give someone with knowledge of its behavior an advantage. I wonder if there is more to the story!
https://en.wikipedia.org/wiki/The_Prisoner_(video_game)#Game...
>The game continually tries to trick the player into revealing the secret three-digit code. One of the most nefarious attempts (which occurs in Prisoner 2) is a simulated game crash that includes the error message "Syntax error in line ###", where the line number is the player's resignation code. This was a common error message in the Apple II's BASIC programming language, and the logical step for users of the time would be to review the erroneous line of code with the command "List ###" (again substituting the specific number in question). Typing the secret three-digit code at any time resulted in the game being lost, however, and that included typing such a BASIC command since, unknown to the player, the game was actually still running. Ironically, being able to list the program's code from within it was one way to solve and win the game by means of analyzing the program and deducing a solution. Yet such a solution was entirely within the spirit of the game, as its clues sometimes broke the fourth wall with an acknowledgement that a computer game was being played.
https://mocagh.org/miscgame/prisoner-alt-manual.pdf
<6>. If you think the program isn't working, try again. What you may at first believe to be an error may not be the case. A trick might be played on you; certain possessions must be gained or tasks performed to get something to work, or the computer may be waiting for you to press certain keys or make certain responses. Don't be too quick to assume an error, and remember that <CTRL C> can get you out of any section of the program. If you do discover an error of any kind, read the Warranty.
https://whatifmath.org/the-great-american-probability-machin...
This was the old fun, quirky 1970s Apple Computer, Inc. I still fondly remember.
I'd like to know more too!
https://www.digibarn.com/collections/software/apple2/apple2e...
Okay here's the steps. Took me 40 years to remember how to do this!
0) Go to archive.org here
https://archive.org/download/riag_005_Volume_042_-_Apple_Sof...
1) Save the file "Volume_042_Apple_Software_Bank_5.dsk" locally
2) Run the Apple ][ emulator from here. This will also load the DOS 3.3 disk with Integer BASIC on it:
https://www.scullinsteel.com/apple2/#dos33master|
3) For disk 2, press the folder button, choose the "Local Saves", "Choose File", then load the .dsk file.
4) Then do these commands:
INT
LOAD GREAT AMERICAN PROB. MACHINE,D2
RUN
Enjoy.PS: LEMONADE is also possible with these same steps, use this disk image:
https://archive.org/download/a2_Lemonade_Stand_1979_Apple/Le...
And then these commands
FP
RUN LEMONADE,D2https://mirrors.apple2.org.za/ftp.apple.asimov.net/documenta...
There's a disk image of it on Archive.org, but the program was written in Integer Basic and the MAME emulator here boots into //e mode. You'll get a LANGUGAGE NOT AVAILABLE error when trying to run it from an Applesoft prompt. Does anyone know how to change the core machine? Is Jason around?
https://archive.org/details/riag_005_Volume_042_-_Apple_Soft...
Well, our copy at school was on a 5.25" floppy, with a sticker over the write-protection, so we'd regularly take the sticker off, change the code, save the file, and put the sticker back. We didn't really know what we were doing, but finding arithmetic in code and changing it was not beyond the ability of a clever 6th grader.
So if people were getting the source from old floppies... changes could have come from kids like me who did not realize how obnoxious our decisions were are that point in our lives.
There were all sorts of odd bits of programming in a lot of these early BASIC games; they were often done by self-taught programmers.
Not an Apple II expert, but the original IBM PC used a single 14.318MHz crystal to derive every other clock.
My solution? At game launch, the game would print “hit space to start the game and then run a right loop over a ‘rand’ call until the user hit space. The entropy was in how long it took you to hit the spacebar!
And if you squint, using mouse movements as a source of entropy is still used by some modern programs. Some SSH key generators use it, and I'm sure I've had a Linux installer ask me for it too in recent years. I'm not sure whether this is theatre or whether the OS really can't be relied on to provide suitable entropy itself.
Generally a key generator does not itself watch for mouse-movements, it just gets random noise from the OS. But the OS gets its random noise from a random number generator, and the random number generator needs to be seeded with genuine randomness. Some CPUs provide a hardware RNG, but older CPUs do not, and some OSs do not trust a hardware RNG implemented in opaque, un-auditable microcode, so they get their randomness from things like the difference between the CPU clock and real-time clock[1] or the relative timing of interrupts... such as those caused by mouse-movement or keyboard key presses.
I recreated bastardized versions of so many data types that I learned about much later.
I made a handful of GPT "games" a couple of months ago, one of which was a Lemonade Stand clone. Can try it out at [2].
It does some interesting things around rolling random numbers in Python for the weather and it's nice that you can put in free-form text to say what you want to do for your actions. It's definitely more hackable than the original (good prompt security test.)
[1]: https://archive.org/details/3d0g_059b_Apple_at_Play [2]: https://chat.openai.com/g/g-e7DwANYTS-lemonade-stand
https://archive.org/details/palm3_DopeWars2.4.6
It seems to be a copy of Drug Wars for DOS
https://archive.org/details/msdos_Drug_Wars_1984
It was very entertaining.
Today I think I should make an RNN to solve it, and how fast I can get Applesoft BASIC to run for training.