[This is a re-send. Apparently sending the files as text attachments was
not the best idea, as lines get wrapped and carriage-returns inserted in
unfortunate ways.]
Just for fun, I've developed a "video tennis" game (i.e., "Pong"(tm)) for
the Psychtoolbox. The attachment needs to be Unstuffed. This will
produce two files: "matpong.m" and "bossfile". These need to go into the
same folder. The second file is related to the all-important "boss
screen" button, a feature lacking from far too much software, IMO. Any
feedback would be greatly appreciated. Instructions are available by
typing "help matpong" at the matlab prompt.
Some caveats:
-So far I've only tested it on G3s running MacOS 8.6, Matlab 5.2 and
PsychoToolbox 2.42 with screen resolutions of 768x1024.
-The code is not the prettiest. The one-player option in particular was
kludged in as an after-thought.
Charles.