HTML/Javascript Sentence Adverb Clause Game Tutorial

HTML/Javascript Sentence Adverb Clause Game Tutorial

HTML/Javascript Sentence Adverb Clause Game Tutorial

The easiest English games to design are those that involve discrete words, because then dictionaries and thesauruses can be used. Learning English (for students whose first language is not English (ESL)) is obviously more useful when the student can piece together sentences, so, here, with today’s tutorial, we piece together sentences where adverb clause come into play in the makeup of the complete English sentence. Today’s game asks you to fill in the game’s missing start, middle word, or end to your sentences, in order to complete those sentences (correctly, hopefully?!), and we’ll call the game “The Adverb Clause DotDotDot Game” (too snappy for you?!) … and you score points for each correct sentence you form (we may not have thought of all sentences you may construct, and if this happens avail yourself of the Complaints Department). It uses English sentences, and we invite you to play with another player, and add your own, maybe while they aren’t looking?! (Hint: Try the middle Dot).

Today’s data source inspiration is from A Shorter Guide to English Usage by M.A. Ramsay (p.47-48) and from Søren Kierkegaard Quotes … thanks a lot.

This game uses HTML and Javascript programming languages.

Hopefully you can figure the rules when you click the picture above for a live run.

Anyway, see how you go with this ESL sentence game that makes use of a (HTML canvas element) chalkboard!

Here is a link to some downloadable HTML (with Javascript) programming code you could rename to adverbclause_chalkboard.html (please note that some of the utf-8 characters may be better seen with View->Page Source).

Some utf-8 coding considerations came into play with the code above, and in this respect, take a look at:

  • Complete Character List for UTF-8 (is a good resource to know about)
  • Have a look at meta tag in header that looks like … <meta charset="UTF-8">
  • Have a look at code line … context.strokeText(pseudo_sentence.replace("&#248;", "ø"),gpx,gpy);
    and context.strokeText(real_sentence.replace("&#248;", "ø"),gpx,gpy);

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>