Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site mcvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!hplabs!hao!seismo!cmcl2!philabs!mcvax!play From: play@mcvax.UUCP (funhouse) Newsgroups: net.sources Subject: Re: Corewar program source Message-ID: <5886@mcvax.UUCP> Date: Wed, 4-Jul-84 21:42:49 EDT Article-I.D.: mcvax.5886 Posted: Wed Jul 4 21:42:49 1984 Date-Received: Wed, 11-Jul-84 00:33:32 EDT References: <107@zinfandel.UUCP> Organization: CWI, Amsterdam Lines: 4 As we got it, the source file corewar.c contains a bug causing the first program to win whenever it is not a draw. The fix is trivial: replace in the routine execute() the first return 1 by return 2;