Word Guessing Game for Two Primer Tutorial

Word Guessing Game for Two Primer Tutorial

Word Guessing Game for Two Primer Tutorial

Word Games help vocabulary for ESL students. There is also not much doubt that collaboration can help ESL students, who also learn quicker with other students present.

Today we create a web application Word Guessing Game designed for two. Not two devices, the one device for two users (hovering over it). So for …

  • non-mobile users can play the game with one user using the mouse and the other using the keyboard
  • mobile users can play with one user using touch on the blue areas of the web application and the other using touch on other places

The events we code for are …

  • onclick … will be recognised on non-mobile platforms
  • ontouchstart … will be recognised on mobile platforms (where it will supercede any onlick event)
  • onkeyup … will be recognised on non-mobile platforms

… so you can see that the colour coding of the webpage becomes important for the mobile platform usage.

Today’s game tests English vocabulary skills. Why just English? Well, it uses English words, based on the dictionary arrangements at its (web) server, which happens to be based on English.

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.

Here’s a live run and here is the HTML programming source code you could call wordguessgame.html which, again, uses some PHP we’ve talked about with a lot of our word games at this blog, on a “Client Pre-Emptive Iframe” scenario in a couple of HTML iframe elements we include into today’s game. We thank this free online English dictionary that gets called on if the user chooses to.

We hope you try it, and like it. By the way, you can also play the game as a single user.

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

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

5 Responses to Word Guessing Game for Two Primer Tutorial

  1. admit says:

    indeed, research is paying off. Actually practical standpoint, thanks for expression.. Wonderful thoughts you have here.. Is not it fantastic after you come across a great article?

  2. bit says:

    I gotta bookmark this site it seems very helpful very useful

  3. act says:

    I keep listening to the newscast talk about getting boundless online grant applications so I have been looking around for the finest site to get one. Could you advise me please, where could i get some?

  4. perfection says:

    hi!,I like your writing so a lot! share we keep up a correspondence extra approximately your article on AOL? I need a specialist in this area to resolve my problem. May be that is you! Having a look forward to look you.

  5. Smooth says:

    What i don’t understood is if truth be told how you are no longer really much more smartly-preferred than you might be right now. You’re so intelligent. You realize therefore significantly on the subject of this topic, produced me personally imagine it from a lot of varied angles. Its like women and men aren’t involved until itยกยฆs one thing to do with Woman gaga! Your individual stuffs great. Always maintain it up!

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>