Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

CodeWalkers:
Scrabbling It Up
Feb 10, 2003 @ 13:56:40

For all of you out there just itching to expand your PHP creativity once again, CodeWalkers.com is here to satisfy that urge with their latest contest.

In their latest challenge, they want a script that will essentially "play scrabble" for you: In this contest we are going to play the game of scrabble. Well, it won't be exactly like scrabble, but it will be based around scrabble. In a nutshell, you will be allowed to use any letter in the alphabet but each letter can only be used a certain number of times. Each letter will have a point value assigned to it. You will need to arrange 36 of the letters in a 6 by 6 grid and try to create words. The words you are allowed to create will be supplied to you in a file. Each word is worth a number of points dependant upon the sum of the letters that make up the word. The sum for each word will be squared. The winner is the one with the most points.

These contests just keep getting better and better, stretching PHP to the limits of what it's really able of easily - as well as creating a "new breed" of PHP programmer that knows more about how PHP really works than just the average "joe programmer"... (which is definitely a good thing)

tagged:

Link:


Trending Topics: