Back to search
Create a class to represent a game hero with name, age, and type. Add an `attack` method that shows a custom message based on the hero's type (mage, warrior, monk, or ninja). This task helps practice classes, objects, and conditionals in JavaScript.
Stars
0
Forks
0
Watchers
0
Open Issues
0
Overall repository health assessment
No package.json found
This might not be a Node.js project
1
commits