O'Reilly logo

Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond by JD Isaacks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lesson 29. Capstone: Comets

In this capstone you’re going to build an Asteroids-like game called Comets, shown in figure 29.1.

Figure 29.1. Comets game

There are many valid reasons why you would create a base class or a class that doesn’t extend anything. But I think the majority of most developers’ time spent with classes will be extending base classes provided from a framework such as React.js. For this capstone, you’re going to be working with a game framework that I have put together: the framework (like most frameworks) will handle most of the moving parts while giving you some base classes you can customize to create a unique game.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required