Object-Oriented JavaScript By Example

Object-Oriented JavaScript By Example

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1 Hour | 140 MB

Practice your object-oriented JavaScript skills by building a fun and interactive ‘Four in a Row’ game.

What you’ll learn

  • Object-oriented JavaScript
  • App Design
  • DOM Interaction
Table of Contents

01 Introducing the Projectobject-oriented-javascript-example-video
02 Class Planning Solution
03 createSpaces() Method Solution
04 Game Class Constructor Method Solution
05 Preparing to Build the Classes
06 Player Properties Solution
07 Token Properties Solution
08 createTokens() Method Solution
09 Board and Space Class Constructor Methods Solution
10 startGame() Method Solution
11 Connecting with the DOM Solution
12 Rendering the Spaces, Board, and Tokens Solution
13 Getter Methods Solution
14 handleKeydown() Solution
15 moveLeft() and moveRight() Methods Solution
16 drop() Method Solution
17 playToken() Method Solution
18 What Happens Next
19 Game Logic Methods Solution
20 updateGameState() Method Solution