-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdnd-character.js
42 lines (33 loc) · 1.07 KB
/
dnd-character.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
// This is only a SKELETON file for the 'DnD Character' exercise. It's been provided as a
// convenience to get you started writing code faster.
//
export const abilityModifier = () => {
throw new Error("Remove this statement and implement this function");
};
export class Character {
static rollAbility() {
throw new Error("Remove this statement and implement this function");
}
get strength() {
throw new Error("Remove this statement and implement this function");
}
get dexterity() {
throw new Error("Remove this statement and implement this function");
}
get constitution() {
throw new Error("Remove this statement and implement this function");
}
get intelligence() {
throw new Error("Remove this statement and implement this function");
}
get wisdom() {
throw new Error("Remove this statement and implement this function");
}
get charisma() {
throw new Error("Remove this statement and implement this function");
}
get hitpoints() {
throw new Error("Remove this statement and implement this function");
}
}