A good part of the programs was created back in the seventies and then adapted to the "new" operating systems, etc. Something was originally written in FORTRAN and then ported to C.
Most of the algorithms are now in the school books, but it is very nice to look at the code the way it was created just to play and experiment !
Here's an animation originally intended for the VT52 terminal to solve the HANOI puzzle.
It requires 16K and the WRX mod, to support the 80 columns.. text is glitchy but gives a reasonable feeling on how it was back in those days. Other builds are possible (e.g. ARX).
Enter the number of discs (up to 12) and enjoy..
P.S. I'm trying to revive an historical MAZE program based on similar VT techniques, but that one is slightly more complex.
* Amazing demonstration program
* Rewritten from a Pascal program marked:
* "Copyright 1976,
* Oregon Museum of Science and Industry
* 4015 SW Canyon Road
* Portland Oregon 97221
* (503) 248-5923
* "Permission is hereby granted to republish (but not
* for profit) any or all of this program, provided that
* this copyright notice is included."
* This version by:
* Martin Minow
* Digital Equipment Corp.
* 146 Main St.
* Maynard, MA 01754
* Maze may be compiled for RSTS/E RT11 or VMS-native.
* On VMS, maze must be linked with kbgetc and kbputb.
For WRX graphics mod, 32K RAM.
To play use QAOP, but perhaps it is more interesting in self-play mode, it will be a sort of rolling demo...
- (13.08 KiB) Downloaded 150 times
thanks for that programs. Seems that the Zeddy is PDP11-compatible
Back in the eighties I also wrote a Hanoi program, running on my Sharp PC 1211 (so no graphics, BASIC, no recursion). But the graphic version on ZX81 looks much better. Here are some pics: