ALARM: A Letter-Adding Reading Mathgame

linux/unix/osx executable & source
windows executable
This is the first program I've written.

Link to a new one called "add!!!" adding game

I wrote it for my students in second grade, based on a word-problem I saw in a textbook. You are asked to enter words, the values of which are summed using the pattern: a=1 b=2 c=3 ... z=26 The goal of the game is to enter a word or short phrase that adds up to exactly $1.00.

The program originally prompted you to continue, so the 'until' code was clean and functional, but after hearing feedback from people playing with it, (thanks sister) I've made it into and endless game that you have to Cntrl+C or exit the window to terminate. It's less confusing for the user this way.

It's far from perfect, I actually had to tweak the code a little to have it compile correctly for Windows using FreePascal. For now I've left the until loop, the original purpose of which was to prompt the user to continue, because if I remove it it loops endlessly without requesting input.

It was originally done with vim & Gnu Pascal Compiler (GPC) on Ubuntu linux. Eventually, I'll fix the quirks and make it standards-friendly, as well as better commented. I'm only starting Chapter 5 of our Pascal text and a few features of this application are beyond my knowledge of the language.

I also was told that there is some much simpler way to write the alphabetic if/else loop with one auto-incrementing expression that would only take a few lines, but I'm not quite there yet!
Feel free to use, improve, & redistribute.