PHP/Javascript Spelling Game Tutorial

PHP Spelling Game Tutorial

PHP/Javascript Spelling Game Tutorial

Do you like word games? Today’s game tests your spelling skills in English. 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, change the code inside the file_get_contents() call in spelling.php

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

Hopefully you can figure the rules when you click the picture above for a live run, in that you are asked to supply the missing letter in a random word presented to you.

Thank you to The Free Dictionary for its great online presence as a dictionary resource, for the functionality to explain the meaning of a misspelt word. The image map “clicks 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 spelling bee game! Sometimes spelling brings out a lot of emotion.

Here is a link to some downloadable PHP (with Javascript) programming code you could rename to spelling.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>