comp.lang.ada
 help / color / mirror / Atom feed
From: gattamaneni abhiram <abhiram.gattamaneni@gmail.com>
Subject: Three of a crime Card game
Date: Tue, 26 Mar 2013 16:18:10 -0700 (PDT)
Date: 2013-03-26T16:18:10-07:00	[thread overview]
Message-ID: <5c51e9ce-b8d1-42f1-999c-a37c3c600bc8@googlegroups.com> (raw)

Three-of-a-crime is a simple logic game for up to 3 players. There are 7 different 
criminals. The computer randomly chooses three of these (the "perpetrators"), but 
doesn't tell the players which are chosen. The computer then puts down three random 
criminals. 0, 1, or 2 of these may be the actual perpetrators. The computer also tells 
the player how many (but not which) of the three criminals are perpetrators. The 
players may either guess which three criminals are the actual perpetrators or they may 
pass. If a player guesses wrong, she is out of the game and the other players continue. 
If no player chooses to guess, the computer puts down another three randomly chosen 
criminals (0, 1, or 2 of which may be actual perpetrators) and tells the players how 
many (but not which) of these are actual perpetrators. Players can again use logic to 
deduce the three actual criminals and may guess. Play continues until some player 
guesses correctly or until all players have guessed incorrectly. 

I am not able to deduce the logic. Can anyone please help me with the logic? 


             reply	other threads:[~2013-03-26 23:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 23:18 gattamaneni abhiram [this message]
2013-03-27  3:10 ` Three of a crime Card game Dennis Lee Bieber
2013-03-27  5:27   ` gattamaneni abhiram
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox