Subject: bin/12530: bug in mille(6) at end of game
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@netbsd.org>
List: netbsd-bugs
Date: 04/03/2001 01:02:45
>Number:         12530
>Category:       bin
>Synopsis:       bug in mille(6) at end of game
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 02 15:57:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Klausner
>Release:        1.5S of 2001/03/10
>Organization:
>Environment:
	
System: NetBSD klausner.inria.fr 1.5S NetBSD 1.5S (KRAFTLACKEL) #0: Wed Mar 21 13:30:31 CET 2001 wiz@klausner.inria.fr:/usr/src/sys/arch/macppc/compile/KRAFTLACKEL macppc
Architecture: powerpc
Machine: macppc
>Description:
In mille(6), there seems to be an implicit assumption that players have to
change (a/b/a/b). If one player gets a Safety card very late in the game,
or keeps it and plays it when no cards are left, this won't work anymore.
At this state, the program just waits for input forever, but nothing
you can enter is valid.
>How-To-Repeat:
I'm not sure I diagnosed the problem correctly, but the following should
reproduce it:
Play mille, until no cards are left in the stack, but keep a Safety
until the end (probably best as starting player). Try to finish the game.
Or load the following savegame:

begin 644 mille.sav
M```!```#Z```````````!0````H````*````"@````P````$`````@````(`
M```"````!`````,````&````!@````8````.````!@````$````!`````0``
M``$``````````````````P````H`#``-``H`#0`!``,``@`-``$``@`'``@`
M#@`)``8`"P`#``P``P`#``$``0````T``0`$``X`#0````(`!``*``<`"P`&
M``T``P`#``T`"P`#``0``P`2``P`"``*``$`"P`,``(`"@`-``$``@````L`
M#@`)````#0`+``$``@`$``T``P`%``(``P`!```````,``D`!0````(`$0`*
M``X`#0`(``P`#@````(`#0`"``,`#@````T`"``-`!```0`/``(`````````
M```"``(```````$``0``````!0`%``$`!`````4`!0`!``0``/__________
M__________________________\`"``(``X`#@```U(```-2```$&@``!!H`
M``#(````R````````!/L```3[````````````````0`````!```````````"
M``(```````$``0`````````#``(``````````P`"________________``/_
M_________________P`+``O_____```"O````KP```.$```#A````,@```#(
<````````#Z````^@`````@````(````!`````+P`
`
end

>Fix:
Didn't hunt(6) it down yet. Perhaps someone else wants to take over?
>Release-Note:
>Audit-Trail:
>Unformatted: