Book Image

Web Games with JavaScript - Create Your Own 5 Fun Word Games [Video]

By : Laurence Lars Svekis
Book Image

Web Games with JavaScript - Create Your Own 5 Fun Word Games [Video]

By: Laurence Lars Svekis

Overview of this book

This is a full-practical course to learn how to make online games using JavaScript. First, you will learn to create a word scramble game where the user has to solve the scrambled word with as few wrong guesses as possible. Here, you will learn how to load dynamic word lists to create an interactive experience. Then you will learn to create a word decode game where the user has to solve a phrase using the number codes. Here, you will learn how to associate every letter with a number and dynamically load words and phrases. Your third game will be a hangman game where the user has to guess the hidden phrases by clicking the available letters. Here, you will use JavaScript conditions to check the guesses made by the user. Next, you will learn to build a word search game to understand how to create a fully functional word search that fills the dynamic grid automatically with as many words as possible. Finally, you will build your last game, a simple quiz game that gets dynamically generated with JavaScript and creates all the Document Object Model (DOM) elements and interactions depending on the JSON data. By the end of this course, you will have the skills and confidence to build your own web games in JavaScript. All resources and code files to the course are placed here: https://github.com/PacktPublishing/Web-Games-with-JavaScript---Create-your-own-5-Fun-Word-Games
Table of Contents (6 chapters)
Free Chapter
1
Word Game Introduction
Chapter 4
Hangman Word Guessing Game from Scratch Using JavaScript
Content Locked
Section 3
Launching Application Content when Document Object Model (DOM) loads the DomContentLoaded Event
This video demonstrates how to launch application content when DOM loads the DomContentLoaded event.