How to make a Game like Writing a Pong game in JavaScript

How to make a Game like Writing a Pong game in JavaScript

Writing a Pong game in JavaScript In this episode I write a Pong game in JavaScript from scratch. Some key technologies we will look at are * Object Oriented Programming * ES6 class with getter and setter * Canvas * requestAnimationFrame() * Handling user input Since we are writing ES6 this code might not run on all browsers yet. I was running Chrome 52 when I wrote this and if you wish to follow I recommend you do too. The initial HTML file can be found here: http://ift.tt/2ivDilC Try it: http://ift.tt/2dMF3qU Source code:…continue reading →