CONNECT 4 (QL) SU8511w044087Connect4.mdv =============================================================================== NOTE: The microdrive cartridge is in a format readable by the QLAY emulator. Files on the cartridge: conn4_bas =============================================================================== A COMPACT version of the popular board game, Connect 4 was written by R Hartill of Rhydyfelin, Glamorgan. It's a two player game for the QL, and involves dropping discs into a grid to make four in a row - up, down or diagonally. It's also a good example of how to maximise the QL's strengths to produce a good game in a very short space. NOTE: this program was set up for use on a TV (hit F2 at startup). Use of the monitor setting will cause only four columns to be displayed. The listing specifies in line 180 that *both* players are called PLAYER 1, and only yellow or red will distinguish them. Also, the procedure "CFw" doesn't properly check to see if all winning combinations have been obtained. I think this may have been a beta-testing version of the listing sent to SU by mistake, or it was cut off before it had finished - the variable "again" defined in line 100 isn't used, the final procedure "ak" doesn't finish with an END DEFine statement, and my attempts to fix the procedure "CFw" with a NEXT v inserted where I thought it should be, were unsuccessful. So I've left it as-is, and if any QL aficionados want to attempt a fix, go ahead. =================================================== Text and program typed by Jim Waterman, April 2020. ===================================================