* FAQ    * Search  * Register * Login 
Active topics
Unanswered topics

All times are UTC-06:00



Post new topic  Reply to topic  [ 10 posts ] 
Author Message
 Post subject: "Clue" Challenge
PostPosted: Thu Jul 21, 2011 9:36 am 
Offline
DBB Benefactor
DBB Benefactor
User avatar

Joined: Thu Sep 02, 1999 2:01 am
Posts: 4434
Make a "clue" tracking program. Have a set up where you can input cards seen and each person's guesses and the responses given. For extra cool-ness, it can give real-time percentages for each possibility. For regular coolness, it can show eliminated cards, possible owners of each card, and positively identified cards.

_________________
Arch Linux x86-64, Openbox
"We'll just set a new course for that empty region over there, near that blackish, holeish thing. " Zapp Brannigan


Top
   
 Post subject: Re: "Clue" Challenge
PostPosted: Thu Jul 21, 2011 11:13 am 
Offline
DBB Artist
DBB Artist
User avatar

Joined: Mon Aug 01, 2005 8:47 am
Posts: 7124
Location: Ơ̸̦͇̲̬̭̱̰͎̞͈̣͎͚̳ͬ͋̃̀̇͊͂͋͐ͦ̽ͣ̂ͥ͊̅̀̚͠ B̶͖̯͉̜̰̲̓̔͋̈́ͅ È̯ Y̪̤̼͉̠̙͝
I'll definitely will try this.

_________________
s☼-£♦и̫͍ͥ̍ͪ͌̓͗͡о̡̹̱͊̅ͮ̓̕͢б̧̝̻̪̤̳̜͐̓̉ͤ͢͜ ͙̬͙̆̑ͮ̐ͭ̾̂́͘i̎̌̾̓̽̀̈̓̀҉͉̙̦͎̘̝͕f̻͕͔̘ͣͣ̓͊̿͢͜ ͍͔͈͕̮̫ͣ̆ͮ̊͋/♂6Æ!♪╩"▲L└уͭ̂͐̇҉̴̣̼̞̠̯͓̺̞ф̜̊͌̈́̋̏̐́ц̨͔̮̿̇ ̨̛͖̙͖̖̮̗̱ͩ̆͞ͅа̥͇̞̖͚̟̅͐ͤ͞͠͠э̜̘̩̳̬͔̾ͯ̀ͫ̒̐̿ͅͅг̭̖̀ͦ̒̑ͥ̌ͮͫ͞ё͔̟̃ͬ̾̓͟ё̦̞̙̫͔̩͑̀͂ͯ̄̔̃̑̀͠ͅͅ


Top
   
 Post subject: Re: "Clue" Challenge
PostPosted: Thu Jul 21, 2011 11:11 pm 
Offline
DBB Master
DBB Master
User avatar

Joined: Sun Sep 05, 1999 2:01 am
Posts: 6377
Location: ☃☃☃
I'll try to take a quick hack at this on Saturday. I saw that Wikipedia has a page on Clue... is the explanation there sufficient for the challenge and/or is there a better resource for the Clue rules?


Top
   
 Post subject: Re: "Clue" Challenge
PostPosted: Fri Jul 22, 2011 7:23 pm 
Offline
DBB Benefactor
DBB Benefactor
User avatar

Joined: Thu Sep 02, 1999 2:01 am
Posts: 4434
Yes: http://en.wikipedia.org/wiki/Cluedo describes the rules and game play.

I imagine the tracking program running in two stages:

Setup:
Define the number of players
Define the cards in hand
Define first player

Gameplay:

For others' turn:
Define whose turn it is
Define suggestion
Define who showed a disproving card

For own turn:
Define card newly seen
Define whom showed the newly seen card

Ongoing status per card:

Confirmed owner, if exists
Possible owners

Possible scenarios missed by simply tracking status of each card:

In turn #1 person B shows person A either card x or y or z.
By turn #5, you have confirmed that person C possesses card y and z.
If the progression of the game is not saved, the program can't go back to re-evaluate turn #1, and conclude that card x was shown.

I'm imagining that the program would run with two sets of data:
One would be a database of confirmed owners
The second would be a record of the progression of the game.

With each turn, I envision the program updating the confirmed owner database, then re-running the progression of the game to draw conclusions from previously inconclusive steps.

In my scenerio, during the first turn the program would flag B as a possible owner of x, y, or z. Once C is a confirmed owner of x, the program would flag B and a possible owner of y and z. Once C is a confirmed owner of y, the program would flag B as the confirmed owner of z.

_________________
Arch Linux x86-64, Openbox
"We'll just set a new course for that empty region over there, near that blackish, holeish thing. " Zapp Brannigan


Top
   
 Post subject: Re: "Clue" Challenge
PostPosted: Thu Aug 04, 2011 8:05 am 
Offline
DBB Captain
DBB Captain
User avatar

Joined: Wed Oct 06, 2004 9:40 am
Posts: 667
I want to try this - going to be a challenge.


Top
   
 Post subject: Re: "Clue" Challenge
PostPosted: Mon Aug 15, 2011 3:03 pm 
Offline
DBB Benefactor
DBB Benefactor
User avatar

Joined: Thu Sep 02, 1999 2:01 am
Posts: 4434
My quarter ends in two weeks. I'm going to take a shot at a shell script that will accomplish this between quarters. Right now I'm up to my ears in homework/term papers.... and I'm only taking one class! (Part time graduate work while working full time is tough.)

_________________
Arch Linux x86-64, Openbox
"We'll just set a new course for that empty region over there, near that blackish, holeish thing. " Zapp Brannigan


Top
   
 Post subject: Re: "Clue" Challenge
PostPosted: Mon Aug 15, 2011 3:38 pm 
Offline
DBB Artist
DBB Artist
User avatar

Joined: Mon Aug 01, 2005 8:47 am
Posts: 7124
Location: Ơ̸̦͇̲̬̭̱̰͎̞͈̣͎͚̳ͬ͋̃̀̇͊͂͋͐ͦ̽ͣ̂ͥ͊̅̀̚͠ B̶͖̯͉̜̰̲̓̔͋̈́ͅ È̯ Y̪̤̼͉̠̙͝
Just had my last final exam. I have one week before fall 2011 starts. I should have time to start this.

_________________
s☼-£♦и̫͍ͥ̍ͪ͌̓͗͡о̡̹̱͊̅ͮ̓̕͢б̧̝̻̪̤̳̜͐̓̉ͤ͢͜ ͙̬͙̆̑ͮ̐ͭ̾̂́͘i̎̌̾̓̽̀̈̓̀҉͉̙̦͎̘̝͕f̻͕͔̘ͣͣ̓͊̿͢͜ ͍͔͈͕̮̫ͣ̆ͮ̊͋/♂6Æ!♪╩"▲L└уͭ̂͐̇҉̴̣̼̞̠̯͓̺̞ф̜̊͌̈́̋̏̐́ц̨͔̮̿̇ ̨̛͖̙͖̖̮̗̱ͩ̆͞ͅа̥͇̞̖͚̟̅͐ͤ͞͠͠э̜̘̩̳̬͔̾ͯ̀ͫ̒̐̿ͅͅг̭̖̀ͦ̒̑ͥ̌ͮͫ͞ё͔̟̃ͬ̾̓͟ё̦̞̙̫͔̩͑̀͂ͯ̄̔̃̑̀͠ͅͅ


Top
   
 Post subject: Re: "Clue" Challenge
PostPosted: Mon Aug 15, 2011 3:59 pm 
Offline
DBB Master
DBB Master
User avatar

Joined: Sun Sep 05, 1999 2:01 am
Posts: 6377
Location: ☃☃☃
Although I started this a while ago, I probably won't have time to finish it for a couple of weeks. Also, I started it in Haskell, which was probably a bad idea because you spend half of your time coercing the type system.


Top
   
 Post subject: Re: "Clue" Challenge
PostPosted: Tue Aug 16, 2011 9:37 am 
Offline
DBB Captain
DBB Captain
User avatar

Joined: Wed Oct 06, 2004 9:40 am
Posts: 667
I'm doing it in javascript - just kind of time consuming to get all the html elements and events going.


Top
   
 Post subject: Re: "Clue" Challenge
PostPosted: Tue Sep 13, 2011 10:28 am 
Offline
DBB Artist
DBB Artist
User avatar

Joined: Mon Aug 01, 2005 8:47 am
Posts: 7124
Location: Ơ̸̦͇̲̬̭̱̰͎̞͈̣͎͚̳ͬ͋̃̀̇͊͂͋͐ͦ̽ͣ̂ͥ͊̅̀̚͠ B̶͖̯͉̜̰̲̓̔͋̈́ͅ È̯ Y̪̤̼͉̠̙͝
I'm going to start this. I'm getting through a bunch of mysql tutorials and school work at the moment. After that I will get on this.

_________________
s☼-£♦и̫͍ͥ̍ͪ͌̓͗͡о̡̹̱͊̅ͮ̓̕͢б̧̝̻̪̤̳̜͐̓̉ͤ͢͜ ͙̬͙̆̑ͮ̐ͭ̾̂́͘i̎̌̾̓̽̀̈̓̀҉͉̙̦͎̘̝͕f̻͕͔̘ͣͣ̓͊̿͢͜ ͍͔͈͕̮̫ͣ̆ͮ̊͋/♂6Æ!♪╩"▲L└уͭ̂͐̇҉̴̣̼̞̠̯͓̺̞ф̜̊͌̈́̋̏̐́ц̨͔̮̿̇ ̨̛͖̙͖̖̮̗̱ͩ̆͞ͅа̥͇̞̖͚̟̅͐ͤ͞͠͠э̜̘̩̳̬͔̾ͯ̀ͫ̒̐̿ͅͅг̭̖̀ͦ̒̑ͥ̌ͮͫ͞ё͔̟̃ͬ̾̓͟ё̦̞̙̫͔̩͑̀͂ͯ̄̔̃̑̀͠ͅͅ


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Descent'rs have piloted these pages
 
The layout and contents contained within this site are © DescentBB.net 1997-2006.
Descent, Descent II are © Parallax Software Corporation.
Descent III is Outrage Entertainment.
Descent is a Trademark of Interplay Productions.

Miner Wars™ is trademark of Keen Software House s. r. o.
.


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group