[comp.binaries.ibm.pc.d] TSGMEC11.ARC update at chyde.uwasa.fi

ts@uwasa.fi (Timo Salmi LASK) (08/18/90)

Sat 18-Aug-90: I have turned my attention back to the more or less
educational games, and devised a new one called linegame. It is
contained in the updated /pc/ts/tsgmec11.arc package. Linegame
expects you to fit lines (y=a+kx) to touch or intercept circles on a
plane in order to gain a maximum number of points. The idea, of
course, is to convey some rudiments of analytic geometry.
   If you have Turbo Pascal programming experience, and get the
game, and then look at it, you may appreciate that writing the code
involved many interesting tasks of TP graphics programming. (In fact
much of the motivation to write this game came from an interest to
replenish my personal TP graphics routines library). Let me state a
few of these tasks, both graphics and general. Saving and restoring
the original screen (rather trivial, since it is standard
knowledge). Putting the EGA driver routines into the executable, so
that no external support (.bgi) files are needed. Building a window
system (there are ten separate windows in linegame) with all its
facilities. (For example one needs routines for invoking a window,
clearing it, drawing its borders, writing to (and reading from) it
at the proper locations with a simulated cursor and working delete
key, and so on). Devising a coordinate system for graphics windows,
and drawing lines and circles in these modified coordinates.
Building in graphics the scrolling counterparts of textmode readln
and writeln commands. Performing a checksum selftest on the program
to guard against tampering or viruses.

TSGMEC11.ARC    Educational games III, T.Salmi
Filename        Comment                             Date      Time
--------        --------------------------------    ----      ----
ASCIGAME.EXE    Memory game with an ascii twist   03-09-90  20:51:54
ENGLSUOM.VOC    English-Finnish sample vocab.     03-08-90  19:11:52
LINEGAME.EXE    Line fitting game                 08-18-90  17:29:26
SAMPLE.VOC      French-English sample vocabulary  03-07-90  20:04:40
TSGMEC.INF      Document                          08-18-90  17:48:36
TSGMEC.NWS      News concerning this package      08-18-90  17:42:10
TSPROG.INF      List of PD programs from T.Salmi  04-03-90  17:37:40
WORDEXAM.EXE    Learn foreign words for exams     03-14-90  11:53:08
----            ------             ------  -----
0008            138810             104665   25%

...................................................................
Prof. Timo Salmi        (Moderating at anon. ftp site 128.214.12.3)
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun