Context: A Multiplayer RPG
Explore how to use object-oriented programming in JavaScript to create efficient multiplayer RPG characters. Understand how to avoid code duplication by sharing common properties through classes and prototypes.
We'll cover the following...
We'll cover the following...
As a reminder, here’s the code for our minimalist RPG (Role Playing Game). It creates an object literal named aurora with ...