“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.”
Rick Osborne
As you have learned, HTML is the bone structure and CSS is the look and appearance of our game. So what does JavaScript bring to the table? JavaScript is a programming language used for creating interactivity in web sites . So we could say that we use JavaScript as the master controller of our game.
So why do we need it for our game? The obvious answer is that the game needs to be able to create the zombies, fire the gun, and respond ...