Context: A Multiplayer RPG
Apply what you have learned so far about Object-Oriented Programming in JavaScript.
As a reminder, here’s the code for our minimalist RPG (Role Playing Game). It creates an object literal named aurora
with four properties (name
, health
, strength
and xp
) and a describe()
method.
Get hands-on with 1400+ tech skills courses.