Community Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Scrabble Game

First Round:

Gather Data from a web page.

Summary:

Scrabble Game.  Play options on each turn are gathered from scrabblecheat.org.  Word definitions come from dictionary.reference.com.  This code also serves as a good, basic example of object-oriented game design.

Function:

On each turn, the board and current players rack of letters are run though scrabblecheat.org (using the DataSocket Read method) and results are parsed to determine all available play options.  The user can choose from the list of play options which to play, or select 'Auto Play' for the game to play itself, always choosing the highest scoring option.

Steps to execute code:

1. Open scrabble.lvproj and run scrabble.vi

2. Choose number of players.

3. Players racks will be filled with letters and play options will be listed.

4. Choose a play option to see it on the board and to see the word's definition.

5. Click the 'Play' button to play the selected option.

6. Points will be tallied and play will move on to the next player.

7. Check the  'AutoPlay' check box to see the game play itself.

Note: Code that reads data from the web is in the WebCode directory.

Screenshots:

scrabble.png

VI attached below

Comments
VuD
Member
Member
on

Thanks for the submission, Michael.  Being a big "words with friends" and scrabble aficionado, I really appreciate what you've done here.

Unfortunately, the deadline for the 1st round was 11:59pm on March 13th.  Since both you and hekdude didn't get your submission in on time, we will actually make that spot in the quarterfinals a "dark horse" position.  Tomorrow we will run another poll with both of your submissions along with the four other players who don't progress to the next round from today's polls.  The player who gets the most votes in that poll will move on.   

G-Money
NI Employee (retired)
on

Awesome LVOOP! I'm glad we are setting up this darkhorse poll because I'm definitely voting this up.

mike_nrao
Member
Member
on

If y'all vote me into the next round.. I'll definitely serve up a multi-player networked version of this game!

Contributors