Hi, I've been working with PHP and mySql and thought to make an online word game called Bunkology.

The game is similar to Balderdash in that you make up a bunk definition for a really wierd word. Once a word has 5 bunk definitions, that word's definitions get voted on and everytime someone votes the user they voted for gets a point. Try to write the best definitions and get the most points!

I just released the site so there aren't many members or much activity right now. The site is designed for have a lot of members, so right now it's pretty slow. BUT I want as many members as possible to come to the site and start playing....So come on!

Bunkology.com

Quick question:

Does anyone have a function to replace naughty words with stuff like F and S ? I want my site to stay somewhat clean.

    $string = str_replace("swear word here","f**k",$string) 🙂

      You can also put swear words into an array and do a str_replace() based on the array.

      $bad = array('f*ck', 'sh!t', 'a$$');

      $string = str_replace('[Language Filter]', $bad, $string);

      ~Brett

        Enjoyed my brief exposure.

        One ?? - submitting a word: I get conflicting messages. It says my word has been submitted, but it also says I don't have permission to submit words. Can't both be true, can it?

        And, if I don't have permission, why does it keep my 5 points? :mad:

        😃

          I guess that is a little confusing. Wel, you submitted the word and it took your 5 tokens away. Then it made your submission level go down one, so you actually don't have permission to submit words after that until you buy another submission. I guess I'll need to fix that. Thanks.

            Yeah, I guess I could do that, but it will take some time. Right now they just convert everything to jpg. Some animated gifs convert fine, but some don't. I'll work on that. My main goal right now is to incorporate a spell checker for when you write bunkisms.

              Hey, that's pretty fun! Great idea, and looks nice too - I hope it goes well for you!

                6 days later

                Fun game...my tokens are all gone 🙁 How do I get more, o all-powerful admin? 😃

                  I'd read over at the bottom of the right sidebar where it says "earn some tokens - Rate bunkisms" 😉

                    Didn't see that - I'm not all that observant when it comes to websites. I've missed the most obvious things sometimes. 😃

                    Then again, sometimes it's the webmaster's fault, like creating a button shaped in a triangle, and that's supposed to represent "Contact Us" (??).

                      Write a Reply...