PHP/Javascript Find Those Words Game Tutorial

PHP Find Those Words Game Tutorial

PHP/Javascript Find Those Words Game Tutorial

Do you like word games? Today’s game tests your vocabulary skills in English. It uses English words, based on the dictionary arrangements at its (web) server. Maybe it would be a good game to help learn even more English vocabulary.

Today’s tutorial game which we will call “Find Those Words” allows the user to change one letter in the computer’s words to form a valid new word, and the score increases for the user with a point for each letter of this new word. Once you use up all the words you know, or get cornered without being able to form a new valid English word, you can choose to create a new computer-generated word.

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, change the code inside the file_get_contents() call in findthosewords.php

This game has two parts to it for PHP and Javascript to respectively create the words to start the game, and to use and arrange the user interaction.

Hopefully you can figure the rules when you click the picture above for a live run. For today’s game 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, should Chat be your “thang”.

Anyway, see how you go with this game that tests your vocabulary skills!

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

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

This entry was posted in eLearning, ESL, 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>