|Sent on:||Wednesday, July 18, 2007 2:19 PM|
I hate you J Your program just absolutely crushed me like a million to twelve, plus it looked good doing it. It also came up with the words “Fixit” and “Gor” neither of which I believe are real words.
Here is a link to a WPF Scrabble game I developed while "learning the ropes" so to speak of WPF and .Net 3.0. I think its a pretty good demonstration of the graphical powers of WPF. Surprisingly, everything displayed (except for the game dialogs and text input box) is done using WPF's powerful data binding model - even the game board - which implemented using a styled version of WPF's built grid controls and content presenters (the gameboard data class is simply a list (colums) of list (rows) of objects.
The move generation (AI) is a singly ply exhaustive search algorithm. The dictionary used is the official scrabble tournament dictionary, known as TWL06 and contains over 160k words (and yes Katie, QAT is a word!)
It is an XBAP application (which means that it runs in your browser) - though you do need the WPF and .Net 3.0 runtime installed.
If you have been following WPF, you might be familiar with blogger Josh Smith - he has a really good blog on WPF development issues - my application was actually the winning application for his first ever WPF programming contest.
Basic Instructions and Hints
Select Start Game - and enter your name
- Select Quixotry to play against the computer;
- Select Solitaire to play a 1 person game
- Select Simulation to watch the computer play itself
Hold <ctrl> key down to overlay scoring grid
Use mouse wheel to shuffle the rack
Right click on board to move all loose tiles back to your rack
Commands which can be entered in the command box:
/check [word] : checks to see if a word is in the dictionary
/anagram [letters] : displays a list of anagrams using the letters supplied - use ? for blank tiles
Good luck and have fun with WPF!!!!...
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by johnny turpin ([address removed]) from New York .NET Meetup Group.
To learn more about johnny turpin, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here
Meetup.com Customer Service: [address removed]
632 Broadway New York NY 10012 USA