PHP/Javascript Can You See Any Words Game Tutorial

PHP Can You See Any Words Game Tutorial

PHP/Javascript Can You See Any Words Game Tutorial

Do you like word games? Today’s game takes 81 randomly generated letters in a 9×9 grid and asks you to make as many words from its letters as you can that are unique and 3 or more characters long which read forwards or backwards going across, down, or diagonally … we’re going to call the game “Can You See Any Words?” … and you score a point for each letter used in your list of valid words generated as a result. It uses English words, based on the dictionary arrangements at its (web) server. Maybe it would be a good game to learn English vocabulary.

Programmers often use Linux dictionary files as a means to get a word list, and that list could be in any language, and for ours it is English, so to make it for another language used in canyouseeanywords.php you’d need a Linux dictionary arrangement (on your web server) with a different language base.

This game has two parts to it for PHP and Javascript to respectively get a word to use and arrange the user interaction.

Hopefully you can figure the rules when you click the picture above for a live run. As for yesterday’s game (added belatedly) there is a link to Email Your Friends that has a body link exactly simulating your current state of play, and there is a Chat Room button link. You can chat to the button before you click it, if you are feeling friendly.

Thank you to The Free Dictionary for its great online presence as a dictionary resource, for the functionality to optionally explain a word’s dictionary meaning. The image map “click parts of the picture” vocabulary ESL tutorials at this blog use the same resource to explain dictionary information about clicked on “things”.

Anyway, see how you go with this game of observational skills!

The webpage here helped a lot, so, thanks.

Here is a link to some downloadable PHP (with Javascript) programming code you could rename to canyouseeanywords.php

If this was interesting you may be interested in this too.

This entry was posted in eLearning, ESL, Games, Tutorials and tagged , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>