Re: [dotnet-120] Notes from New York .Net July Meetup

From: johnny t.
Sent on: Wednesday, July 18, 2007 5:04 PM
ha - the computer can be a bit obnoxious sometimes... unfortunately both "fixit" and "gor" are legal scrabble words!
 
 
 
 
 
 
 


 
On 7/18/07, Daniel Chait <[address removed]> wrote:

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.

 

Nice job!

 

From: [address removed] [mailto: [address removed]] On Behalf Of johnny turpin
Sent: Wednesday, July 18,[masked]:01 PM
To: [address removed]
Subject: Re: [dotnet-120] Notes from New York .Net July Meetup

 

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

Hints:

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





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ( [address removed])
This message was sent by Daniel Chait ([address removed]) from New York .NET Meetup Group.
To learn more about Daniel Chait, 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

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy