PDA

View Full Version : Guess Who Game



LuckY
06-28-2004, 12:21 PM
Try out this game and tell me what you think. You just pretend you are some character from a TV show and answer the questions as such and the game will guess who you are. I wrote it a long time ago, but just came across it and thought it might be a little fun...

DavidP
06-28-2004, 01:00 PM
wow! it's smart!

...until it gets one wrong...

LuckY
06-28-2004, 02:02 PM
Well, do you think I could program in every single character ever on television? My goal was not to build a game that could identify every single character from the onset. It was to build a game that learns from the players. At inception the db had nothing in it and I had to play over and over to build it. You start from scratch and any time the computer can not figure out who you are you are obliged to add your character and a question to the database. Before posting it here I added several of the most popular characters I could think of. Sorry it isn't more comprehensive.

If you want to get a real kick out of a game like this that you will likely not be able to stump, go to: http://www.smalltime.com/dictator.html which is where I got the idea for the game from (it actually has an extensive list of dictators too). After seeing that unbelievably unstoppable game in action I wanted to give such a game a try using a binary tree instead of a database and I succeeded. :)

In any case, thanks for checking it out.

DavidP
06-28-2004, 02:24 PM
no really it is pretty smart. it got my 1st 2 correct: Rachel from friends and Homer Simpson

Govtcheez
06-28-2004, 02:47 PM
I picked Alf, and it guessed I was Chandler from Friends.

:(

LuckY
06-28-2004, 03:12 PM
Well you gotta admit they are two very similar characters, except of course that one likes to eat house pets and the other one is an alien...

Again, check out my program to see that it actually works and can guess a few (very few) very popular characters. To "really" play (and I recommed you do because it really is a ton of fun) go to that link I posted before. My program builds on entries made by the player, so if it is stumped, add your character and continue on. Originally I envisioned a central server with the database file and every time someone played it would be updated, but I just left it as a local game.

Govtcheez
06-28-2004, 03:13 PM
I did, but it wouldn't let me play because I don't feel like opening the correct port for it. I've played before (maybe not the same game), and it was really complete, but I think I stumped it using somethign retardedly obscure.

gcn_zelda
06-28-2004, 03:14 PM
I guess it doesn't really know many Disney characters :P


But that dictator knows like everything.

LuckY
06-28-2004, 03:18 PM
I stumped the dictator twice today with Paris Hilton and Nicole Ritchie from Simple Life. I'm betting all these reality shows have resulted in countless additions to the game.

How about if you guys just list as many obscure and/or popular TV characters as you can and I will generate a huge file and distribute the game with the list I generate? But of course the solutionless problem in that is that it will always get stumped eventually and the user will have to add to it himself, thus taking away from the fun... Eh.

Govtcheez
06-28-2004, 03:23 PM
It'd be easier to just list more obscure TV shows and you could get the full casts from IMDB or something.

I'll start with Sports Night, the greatest television show ever.

edit: This won't work anyways - we'd have to answer all sorts of questions with them or something

LuckY
06-28-2004, 03:35 PM
This won't work anyways - we'd have to answer all sorts of questions with them or something
The only reason this wouldn't work is that if I am the only one adding things to the DB, I won't be very successful not knowing each character from every show imaginable. Otherwise, the answering all sorts of questions would be just fine. That's exactly how the program works. You just go through the list until you are asked to add the character then the next time someone goes through it, they will answer the same questions and find them where you added them. It really is a thing best run just the way that site does it: over the net with contributions from countless players.

Govtcheez
06-28-2004, 03:51 PM
> It really is a thing best run just the way that site does it: over the net with contributions from countless players.

That's kinda what I was trying to say, but being dumb, it didn't really come out right

hyperion
06-28-2004, 10:00 PM
Try this game http://www.20q.net/index.html - it's impressive. The anonymous login is "censored" - I suggest you become a member.

bludstayne
06-29-2004, 10:20 AM
Every time I played it got it wrong. I tried Frasier from Fresier and Monica from Friends.

Govtcheez
06-29-2004, 10:26 AM
Every time I played it got it wrong. I tried Frasier from Fresier and Monica from Friends.
If you're talking about Lucky's game, I just did Monica and it worked just fine. Not male, not red haired, always cleaning up.

LuckY
06-29-2004, 11:20 AM
Every time I played it got it wrong. I tried Frasier from Fresier and Monica from Friends.
Yeah, Monica is definitely in there. She was one of the first added. No one from Frasier or Seinfeld are in it because I have never watched those shows and I didn't feel I should add their characters without knowing anything about them.

I am now feverishly contemplating ways to rewrite the game and to incorporate network play (but via the program not your internet browser)... Any thoughts?

KneeGrow
07-03-2004, 09:11 PM
That's a very cool program. It sure guessed my scooby doo but it missed eddy from ed edd and eddy for bart simpson. All in all, if you had a big database, I'm sure it'd be a cool program. Do you just keep eliminating choices until u get only one left? How long did it take you to make it?

LuckY
07-04-2004, 01:05 AM
Thanks a lot. Yeah, the big database thing would make it exponentially better, but of course the problem is it would need contributions from lots of different people. Actually since I posted this I have been working on a new version of the game. This one is played over the internet, and each client connects to a central server with a master database and requests each question as the game is played, then if they win and need to add a character it will go into this central DB. It is ready to start running publicly, but I don't have a dedicated server I can run the damned thing on (this is the problem I have with all the network programs I write, unfortunately). I have no static IP and even if I did my significant other wouldn't permit me to leave my PC running 24/7, so until I can find a solution (like a web hosting company that allows you to run EXEs on a shared server [highly unlikely], or a friendly person that can help me out) I'm just ast out.

The version you played took me a little bit of work to do because it took me a few tries to figure out the best way to do it (with a binary tree), then after that it went smoothly. Knowing it is a binary tree, you can sort of figure how it works. It doesn't do as you suggested. Rather, it follows a path down the tree based on each choice you make (left or right) until there are no more questions and only a character left.