Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site oddjob.UChicago.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!gargoyle!oddjob!matt From: matt@oddjob.UChicago.UUCP (Matt Crawford) Newsgroups: net.games Subject: another bug in corewar Message-ID: <317@oddjob.UChicago.UUCP> Date: Mon, 2-Jul-84 15:33:31 EDT Article-I.D.: oddjob.317 Posted: Mon Jul 2 15:33:31 1984 Date-Received: Tue, 3-Jul-84 03:14:35 EDT Organization: U. Chicago: Astronomy & Astrophysics Lines: 12 execute() was always returning 1 for non-tied games, making the first program appear to be the winner if the second program really won. Fix: 294c294 < if ( -1 == (p1 = do_instruction(p1))) return 1; --- > if ( -1 == (p1 = do_instruction(p1))) return 2; ___________________________________________________________ Matt University ARPA: crawford@anl-mcs.arpa Crawford of Chicago UUCP: ihnp4!oddjob!matt