|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: I T
Length: 2209 (0x8a1) Types: TextFile Names: »Install«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Connect4/Install«
Install If you are running BSD then lucky for you! Just type make and it should compile ok. If not then you'll have to make some fixes. If you can't figure out what they are then I may be willing to help - send compiler messages etc and I will try and make it work on a system5 or ultrix or dynix machine here. I am only able to give limited support because I don't have alot of time for this stuff during term. A few things to note are.... If SCOREFILE is not defined in the Makefile or header file, c4 should be chmod'd to 4511 and will keep a log in the home directory of the file's owner. The log will show the results of every game that is played. This is very useful for looking for bugs and finding out what sort of things the game does wrong in an attempt to improve its strategy etc. There is a debug option available that writes a file called 'debug' in the current directory. (You need to change 'wizard' in c4.c if you wish to use debugging - you shouldn't have to). There is alot of output and so you can toggle debug on and off using a 'd' whilst playing. The debug on/off routines check to see that your userid is 'tcjones' so you will probably want to change that. All debugging printfs are done with the DP #define - which will eventually vanish if this ever gets released properly. Also there is a char *[] table called 'experts' in tables.h. If a userid in this table is playing, it will not ask whether help is required. This also I will change if ever I rewrite this thing - it should check the scorefile to see if this person has played before. There is a -S option to list the scorefile. I tend to find that people are less willing to play the game if they know that others can look at their results (hence S not s). I plan to make this better too - so that you can ask for the scores for a particular person etc. There is a -1 option to say "I want to go first" and a -2 option to say "I want to go second". There are MANY things I want to add and change. This grew out of a socket based program that let one person play another, but that has disappeared. I'd like to put it back. I'd like to make it possible to withdraw moves, to save/restore games and other things. Terry