About PtGolf.us

PTGOLF.EXE The DOS Origin

Since PtGolf.us was influnced by the simplicity of the PTGOLF DOS application, I though I'd explain what was in this 1980's magic! It did nothing that GolfGaggle.com didn't do, it just did it differently.

The DOS application PTGOLF had a simple data structure that consisted of 500 records that contained a players name and their last 10 scores (points pulled) and dates. From that structure it had the following functions:

Manage Players
Each player was accessed by a number from 1 to 499. Using that number you could change the players names or scores. After the players were set up you basically just added scores for the current date.
Manage Play List
Internally PTGOLF managed a Current Play List. The 500th record seemed to be a scratch pad where information was stored other than the players and their scores. I suspect this was where the play list was stored using a binary scheme. Players were added to the list by their player number.
Once a play list was created, you could form teams either randomly or by points (think ABCD players)
You could then view the teams, or if you had a computer that could still print from DOS, you could then print the teams.
Entering Scores.
The function 'Enter Scores for Current Date' would go into a loop.
You'd enter a players number and return
If the player was found, you were prompted to enter the plays points pulled then press enter.
It would then prompt you for the next player number or 999 to exit the loop.
Internally I assume there were two stack that contained the points pulled and the date. It would push the new score and date onto the stack and pop off the last score if there were more than 10 scores.

There were a few other functions that had some form of access control and could display message. There was a password that was needed for a few functions but I never tried to figure it out.