• Bug#265059: animals-game: Cannot start new game

    From Artur R. Czechowski@1:229/2 to All on Wed Aug 11 17:20:06 2004
    From: [email protected]

    Package: animals-game
    Version: 1.0.0-1
    Severity: important

    I start animals-game with no knowledge file. Session follows:
    Welcome to animals-game!

    Think of an animal, and I'll try to guess which one you were thinking of.
    Press <RETURN> when ready ...

    Is it a/an dog (yes/no)?
    no
    No!? I give up. You win! Which animal were you thinking of?
    cat
    And a question that distinguishes a/an dog
    from a/an cat would be?
    Is it walking on the trees?
    And for a/an cat, the answer would be (yes/no)?
    yes
    Do you want to play again (yes/no)?
    yes
    Is it walking on the trees? (yes/no)?
    yes
    Is it a/an cat (yes/no)?
    yes
    I got it!
    Do you want to play again (yes/no)?
    yes
    Is it walking on the trees? (yes/no)? <----- What I am doing here?

    Cheers
    Artur


    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7foo
    Locale: LANG=C, LC_CTYPE=pl_PL

    Versions of packages animals-game depends on:
    ii liblocale-gettext-perl 1.01-17 Using libc functions for internati ii perl 5.8.4-2 Larry Wall's Practical Extraction

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Tobias Toedter@1:229/2 to Artur R. Czechowski on Thu Aug 12 18:30:16 2004
    From: [email protected]

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    tags 265059 unreproducible moreinfo
    thanks

    Hi Artur,

    On Wednesday 11 August 2004 16:57, Artur R. Czechowski wrote:
    [...]
    Do you want to play again (yes/no)?
    yes
    Is it walking on the trees? (yes/no)? <----- What I am doing here?

    I'm not sure if I understand what you are reporting as an error here,
    because from the transscript of your play, it seems like perfectly normal behaviour to me.

    If you start with an empty knowledge base, the only animal the computer "knows" about is a dog, so this is its first guess. You answered "no",
    because you were thinking a cat, and correctly entered a question to distinguish these animals. After that, the computer knows about a dog and a cat, and has got one question to seperate these animals.

    This is the question the computer asked after you started a new game. You
    were thinking again of a cat, so you answered correctly "yes". The computer tries to guess your animal and asks if you were thinking a cat, and you entered yes (again). So the game is over, and you can start again.

    And now the computer starts with his (still only one) question about the walking on trees, which seems to have confused you. You could have entered
    a new animal (and a new question) if you had answered "no" to the question
    if the animal was a cat.

    Please try this again, as I said, I consider this perfectly normal program behaviour. Please contact me again if you're still confused, otherwise I'll close this bug in a few days.

    Cheers,

    - --

    Tobias

    AMAZING BUT TRUE...
    If you took all the veins from your body and laid them together
    end to end, you'd die.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)

    iD8DBQFBG5X/CqqEJ0Fs8twRArDAAKCoKYylKSlT4cLaO9G/3QuWyzLtFwCfRBsx ghBRSvVj9h24ogZDVkoOuk4=
    =EAQD
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Artur R. Czechowski@1:229/2 to Tobias Toedter on Sat Aug 14 16:10:08 2004
    From: [email protected]

    Hello Tobias,

    On Thu, Aug 12, 2004 at 06:08:31PM +0200, Tobias Toedter wrote:
    Do you want to play again (yes/no)?
    yes
    Is it walking on the trees? (yes/no)? <----- What I am doing here?

    I'm not sure if I understand what you are reporting as an error here,
    because from the transscript of your play, it seems like perfectly normal behaviour to me.
    If computer guess the animal I expect that in new game I could think about another animal. For example:

    Do you want to play again (yes/no)?
    yes
    Think of an animal, and I'll try to guess which one you were thinking of.
    Press <RETURN> when ready ...

    And now the computer starts with his (still only one) question about the walking on trees, which seems to have confused you. You could have entered
    a new animal (and a new question) if you had answered "no" to the question
    if the animal was a cat.
    Well, program gives me no chance to think about another animal.

    Cheers
    Artur
    --
    Rozum m�wi nie pij, ale silna wola zwyci�a.
    /Muczachan/


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Tobias Toedter@1:229/2 to Artur R. Czechowski on Mon Aug 16 16:10:15 2004
    From: [email protected]

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi Artur,

    On Saturday 14 August 2004 15:49, Artur R. Czechowski wrote:
    On Thu, Aug 12, 2004 at 06:08:31PM +0200, Tobias Toedter wrote:
    I'm not sure if I understand what you are reporting as an error here, because from the transscript of your play, it seems like perfectly
    normal behaviour to me.

    If computer guess the animal I expect that in new game I could think
    about another animal. For example:

    Well yes, you can.

    Do you want to play again (yes/no)?
    yes
    Think of an animal, and I'll try to guess which one you were thinking of. Press <RETURN> when ready ...

    And now the computer starts with his (still only one) question about
    the walking on trees, which seems to have confused you. You could have entered a new animal (and a new question) if you had answered "no" to
    the question if the animal was a cat.

    Well, program gives me no chance to think about another animal.

    Yes it does. Just give it a try: After starting a new game, you can think of
    a fish, for example. The question "Does it walk on the trees?" would be answered "no", of course. Please see the transcript of my session below, it works perfectly for me.

    In case I'm misunderstanding you: If you want to start over completely (i.e. with an empty knowledgebase), you can use the parameter "-n" or "--new".
    Your previously entered question about the cat will then be deleted.

    $ animals-game -n
    Welcome to animals-game!

    Think of an animal, and I'll try to guess which one you were thinking of.
    Press <RETURN> when ready ...

    Is it a/an dog (yes/no)?
    - -> n
    No!? I give up. You win! Which animal were you thinking of?
    - -> cat
    And a question that distinguishes a/an dog
    from a/an cat would be?
    - -> Does it walk on the trees?
    And for a/an cat, the answer would be (yes/no)?
    - -> y
    Do you want to play again (yes/no)?
    - -> y
    Does it walk on the trees? (yes/no)?
    - -> n
    Is it a/an dog (yes/no)?
    - -> n
    No!? I give up. You win! Which animal were you thinking of?
    - -> fish
    And a question that distinguishes a/an dog
    from a/an fish would be?
    - -> Does it swim?
    And for a/an fish, the answer would be (yes/no)?
    - -> y
    Do you want to play again (yes/no)?
    - -> n
    Bye!

    Cheers,

    - --

    Tobias

    AMAZING BUT TRUE...
    If you took all the veins from your body and laid them together
    end to end, you'd die.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)

    iD8DBQFBIL2mCqqEJ0Fs8twRAnxZAKCAMJDn7j/5wKZymAHB1/QzrvunCgCgjDnL ZHBfmT06J/6rww2TZVhOWzQ=
    =xsPN
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Artur R. Czechowski@1:229/2 to Tobias Toedter on Mon Aug 16 16:30:12 2004
    From: [email protected]

    On Mon, Aug 16, 2004 at 03:58:58PM +0200, Tobias Toedter wrote:
    Yes it does. Just give it a try: After starting a new game, you can think of a fish, for example.
    Why I should think about fish?

    answered "no", of course. Please see the transcript of my session below, it works perfectly for me.
    I'm adding my comments in [].

    $ animals-game -n
    Welcome to animals-game!

    Think of an animal, and I'll try to guess which one you were thinking of. Press <RETURN> when ready ... [well, let it be a cat]

    Is it a/an dog (yes/no)? [I'm thinking about cat] - -> n
    No!? I give up. You win! Which animal were you thinking of?
    - -> cat
    And a question that distinguishes a/an dog
    from a/an cat would be?
    - -> Does it walk on the trees?
    And for a/an cat, the answer would be (yes/no)?
    - -> y
    Do you want to play again (yes/no)? [stil cat is on my mind] - -> y
    Does it walk on the trees? (yes/no)? [Hey! Cats walk on the threes!] - -> n
    [cut]
    I think about cat. Why I should change an animal in my mind?

    Cheers
    Artur


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Tobias Toedter@1:229/2 to Artur R. Czechowski on Mon Aug 16 17:00:19 2004
    From: [email protected]

    On Monday 16 August 2004 16:13, Artur R. Czechowski wrote:
    On Mon, Aug 16, 2004 at 03:58:58PM +0200, Tobias Toedter wrote:
    Yes it does. Just give it a try: After starting a new game, you can
    think of a fish, for example.

    Why I should think about fish?

    Artur, I'm afraid you've totally lost me. I honestly have no idea what
    you're trying to say. The fish was just an example, of course. You can
    think of any animal you want to.

    Do you want to play again (yes/no)? [stil cat is on my mind]
    y
    Does it walk on the trees? (yes/no)? [Hey! Cats walk on the threes!]
    n

    [cut]
    I think about cat. Why I should change an animal in my mind?

    Well ... because that's the whole point of this game. If you want to play again, there are two options:

    1. You think of the same animal again.
    2. You think of another animal.

    I chose option 2, thus answering "no" to the question "Does it walk on the trees?". If you think of the same animal again, you would have answered
    "yes" to that question, of course.

    If you want to play again, the game starts over. If you think of an animal already known to the computer, the computer will guess the animal. If you
    chose to think of a new animal, unknown to the computer, you'll have to
    teach the computer about the animal you were thinking of.

    Where's the problem?

    Cheers,

    --

    Tobias

    AMAZING BUT TRUE...
    If you took all the veins from your body and laid them together
    end to end, you'd die.


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Artur R. Czechowski@1:229/2 to Tobias Toedter on Mon Aug 16 17:30:12 2004
    From: [email protected]

    severity 265059 minor
    retitle 265059 User interface is not clear for me
    tags 265059 -unreproducible
    thanks

    Hello,
    I justified tags/severity/descrition of this bug to more appropriate.

    On Mon, Aug 16, 2004 at 04:42:30PM +0200, Tobias Toedter wrote:
    Artur, I'm afraid you've totally lost me. I honestly have no idea what
    you're trying to say. The fish was just an example, of course. You can
    think of any animal you want to.
    I think, that proper scheme should look like following diagram.

    ---
    | B |
    ---
    |
    +------------------------->|
    | |
    | V
    | +-----------------------------------------------+
    | |Computer asks user for thinking about an animal|
    | +-----------------------------------------------+
    | |
    | V
    | +-----------------------------------------------+
    | | Computer is walking over the binary tree |
    | +-----------------------------------------------+
    | |
    | V
    | / \
    | /Did\
    | /comp.\_____________________
    | \guess/ yes |
    | \ ? / |
    | \ / |
    | |no |
    | | |
    | V |
    | +--------------------------------------+ |
    | | Adding new animal to binary tree | |
    | +--------------------------------------+ |
    | | |
    | |<-----------------------+
    | |
    | |
    | V
    | / \
    | / \
    |_______________________/Play \
    \again/
    \ ? /
    \ /
    |no
    |
    V
    ---
    | E |
    ---

    Current implementation is:

    ---
    | B |
    ---
    |
    V
    +-----------------------------------------------+
    |Computer asks user for thinking about an animal|
    +-----------------------------------------------+
    |
    +------------------------->|
    | |
    | V
    | +-----------------------------------------------+
    | | Computer is walking over the binary tree |
    | +-----------------------------------------------+
    | |
    | V
    | / \
    | /Did\
    | /comp.\_____________________
    | \guess/ yes |
    | \ ? / |
    | \ / |
    | |no |
    | | |
    | V |
    | +--------------------------------------+ |
    | | Adding new animal to binary tree | |
    | +--------------------------------------+ |
    | | |
    | |<-----------------------+
    | |
    | |
    | V
    | / \
    | / \
    |_______________________/Play \
    \again/
    \ ? /
    \ /
    |no
    |
    V
    ---
    | E |
    ---

    There is no hint for user that new game has really begun.

    Cheers
    Artur
    --
    "Znamy siebie na tyle, na ile nas wypr�bowano"
    /Gustaw Herling Grudzi�ski "Inny �wiat"/


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Tobias Toedter@1:229/2 to All on Mon Aug 16 20:50:09 2004
    From: [email protected]

    tags 265059 -moreinfo +pending
    thanks

    Hi Artur,

    aaaahhhhhhhh ... I finally got your point! Your diagram really did the
    trick. Now I know what you're complaining about, and I agree that this
    could be made a little more clear for the user.

    I'll prepare a new version of the game and try to convince my sponsor to do
    the upload for me. I hope that the new version will reach testing in time
    for the release.

    Thanks for your explanation -- there have been quite a few misunderstandings
    on each side, I guess ... :-)

    Cheers,

    --

    Tobias

    AMAZING BUT TRUE...
    If you took all the veins from your body and laid them together
    end to end, you'd die.


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)