Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
The Guessing Game : Version 1.2... Details »»
The Guessing Game : Version 1.2...
Version: 1.00, by Chris M Chris M is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-03-2002 Last Update: Never Installs: 14
 
No support by the author.

OK!

Its Integrated now...

Im attaching 3 .zip files...

The first one conatins instructions for a Fresh Install...

The second contains instructions for an upgrade from my previous version...

A big thanks to both neo (for helping me get the random function working), and g-force2k2, for helping me sort out my template problem...

The third .zip file contains screenshots...

This only contains instructions for the Guessing Game Word Version...

The Number version will come as soon as I sort out a bug with it...

Satan

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-04-2002, 06:41 PM
Marc Hanlon Marc Hanlon is offline
 
Join Date: Feb 2002
Location: Dublin, Ireland
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician
By the way, AFAIK computer should respond as "my number is below/above your guess" in guessing game, shouldnt it? Replying the user as "Incorrect Guess" is neither helpful nor gives any hint to the user to make a second better guess.
Yeah, this thing seems very stupid - there are billions of billions of possibilities. Even with numbers, it's obvious how many possibilities there are.

The only way I can think of actually winning is to write my own PHP script with uses a brute force cracker to keep guessing until it gets it right...

Marc.
Reply With Quote
  #13  
Old 07-04-2002, 07:43 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stupid? No. Billions and billions of possibilites? I highly doubt it. But that is the way it is supposed to be. It's a guessing game. Just like hangman in the old days.

Quote:
Originally posted by Marc Hanlon


Yeah, this thing seems very stupid - there are billions of billions of possibilities. Even with numbers, it's obvious how many possibilities there are.

The only way I can think of actually winning is to write my own PHP script with uses a brute force cracker to keep guessing until it gets it right...

Marc.
Reply With Quote
  #14  
Old 07-04-2002, 07:54 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is only a word version, which you tell which words are chosen...

Logican - The number version has the feature to tell you whether you are guessing too high or too low, but the word version cant do that for obvious reasons - a Word cannot increase or decrease in a numerical value...

@Boofo - Really? That is extraordinary...On my test forum it appeared to work...I shall test that further...I never stopped past one guess on the live forums...

@Hot Dogg - I am not sure I understand the question??

Satan
Reply With Quote
  #15  
Old 07-04-2002, 07:59 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Marc - It doesnt make up random numbers...I made it so that it doesnt...

The number version (released after I sort out a silly little bug I keep getting), will be programable with as many numbers as you want to be able to guess...

All you have to do is edit the $num array, by adding more words to it (in the word version), and the $number array by adding more numbers to it (in the soon to be released number version)...

And before you say that you could guess the numbers you input each time, dont try it The more numbers you put in, the less chance you actually have of getting it right - It chooses a word or number at random every time you guess (depending on which version you have), so it is very unlikely that with 50 words, you will guess it straight away simply because you know the words you put in...

The next version, 1.3, will have a "Clue" feature, which, if all goes well, will be able to be input from the admin cp That should help guessers get to the guessable word more easily...

Satan
Reply With Quote
  #16  
Old 07-04-2002, 08:08 PM
MrLister's Avatar
MrLister MrLister is offline
 
Join Date: Oct 2001
Posts: 434
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Congratulations!!!
Congratulations Unregistered! You guessed correctly!

on my second try
Reply With Quote
  #17  
Old 07-04-2002, 08:11 PM
Marc Hanlon Marc Hanlon is offline
 
Join Date: Feb 2002
Location: Dublin, Ireland
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Boofo
Stupid? No. Billions and billions of possibilites? I highly doubt it. But that is the way it is supposed to be. It's a guessing game. Just like hangman in the old days.
Okay, when I open this page - I see a blank box with a space to fill in my guess - I see no clues. This text can supposedly be any length at all, therefore billions and billions is a possibility (if you don't understand probability then you won't follow that).

Also, with hangman (at least the version I play) - you know three facts: 1) how many letters are in it and 2) what the subject of the word is (i.e. film) 3) everytime you guess, you guess a letter, if that letter doesn't appear in the text you are told.

I haven't bothered to read the code, I'm going on what I see at the demo.

Marc.
Reply With Quote
  #18  
Old 07-04-2002, 08:41 PM
Marc Hanlon Marc Hanlon is offline
 
Join Date: Feb 2002
Location: Dublin, Ireland
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Suggestion:

Why not use the function similar_text() to calculate the similarity percentage between the guess and the word, and have the word stay static for their guess, it's not likely to make the game easy but at least gives them some indication as to how close their getting.

Edit: If you wanted to go even further, you could use the soundex() function to further improve this.

Marc.
Reply With Quote
  #19  
Old 07-04-2002, 09:02 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All in due time Marc

Like I said - It cant bring in a number that you havent coded into it...

It comes with 5 numbers as standard, and the guessword with 5 words...There are no clues for the guessword, cos simply you cant tell people if they are too high or too low for a word!

On the number version, there is that function...

I was trying to figure out how to make it static...Maybe I shall experiment and get 1.3 out with a Static version, until they guess correctly...

Satan
Reply With Quote
  #20  
Old 07-04-2002, 09:05 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, I never thought of a similarity percentage...

Youve given me an idea

Thanks...

Satan
Reply With Quote
  #21  
Old 07-05-2002, 03:25 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm flabbergasted by this truely amazing hack. When is version 1.3 coming??
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06458 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete