The game in this example is provided courtesy of Andrzej Mazur. It is available on GitHub and the basis for an excellent tutorial on MDN Web Docs.