Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -1328,6 +1328,17 @@
"math"
]
},
{
"slug": "dnd-character",
"uuid": "b373e13c-f179-4b36-b6e8-2a0f41540344",
"core": false,
"unlocked_by": null,
"difficulty": 2,
"topics": [
"classes",
"randomness"
]
},
{
"slug": "trinary",
"uuid": "1acf1d2d-a25e-4576-94de-0470abc872d9",
2 changes: 1 addition & 1 deletion exercises/accumulate/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/acronym/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/all-your-base/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/allergies/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/alphametics/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/anagram/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/armstrong-numbers/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/atbash-cipher/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/beer-song/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/binary-search-tree/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/binary-search/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/binary/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/bob/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/bowling/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/change/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/circular-buffer/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/clock/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/collatz-conjecture/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/complex-numbers/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/connect/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/crypto-square/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/custom-set/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/darts/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/diamond/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/difference-of-squares/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/diffie-hellman/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
26 changes: 26 additions & 0 deletions exercises/dnd-character/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"root": true,
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"env": {
"es6": true,
"node": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"rules": {
"linebreak-style": "off",

"import/extensions": "off",
"import/no-default-export": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off"
}
}
62 changes: 62 additions & 0 deletions exercises/dnd-character/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# D&D Character

For a game of [Dungeons & Dragons][DND], each player starts by generating a character they can play with. This character has, among other things, six abilities; strength, dexterity, constitution, intelligence, wisdom and charisma. These six abilities have scores that are determined randomly. You do this by rolling four 6-sided dice and record the sum of the largest three dice. You do this six times, once for each ability.

Your character's initial hitpoints are 10 + your character's constitution modifier. You find your character's constitution modifier by subtracting 10 from your character's constitution, divide by 2 and round down.

Write a random character generator that follows the rules above.

For example, the six throws of four dice may look like:

* 5, 3, 1, 6: You discard the 1 and sum 5 + 3 + 6 = 14, which you assign to strength.
* 3, 2, 5, 3: You discard the 2 and sum 3 + 5 + 3 = 11, which you assign to dexterity.
* 1, 1, 1, 1: You discard the 1 and sum 1 + 1 + 1 = 3, which you assign to constitution.
* 2, 1, 6, 6: You discard the 1 and sum 2 + 6 + 6 = 14, which you assign to intelligence.
* 3, 5, 3, 4: You discard the 3 and sum 5 + 3 + 4 = 12, which you assign to wisdom.
* 6, 6, 6, 6: You discard the 6 and sum 6 + 6 + 6 = 18, which you assign to charisma.

Because constitution is 3, the constitution modifier is -4 and the hitpoints are 6.

## Notes

Most programming languages feature (pseudo-)random generators, but few programming languages are designed to roll dice. One such language is [Troll].

[DND]: https://en.wikipedia.org/wiki/Dungeons_%26_Dragons
[Troll]: http://hjemmesider.diku.dk/~torbenm/Troll/

## Setup

Go through the setup instructions for Javascript to install the necessary
dependencies:

[https://exercism.io/tracks/javascript/installation](https://exercism.io/tracks/javascript/installation)

## Requirements

Install assignment dependencies:

```bash
$ npm install
```

## Making the test suite pass

Execute the tests with:

```bash
$ npm test
```

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by changing `xtest` to
`test`.

## Source

Inspired by an exercise created by a professor Della Paolera in Argentina

## Submitting Incomplete Solutions

It's possible to submit an incomplete solution so you can see how others have
completed the exercise.
14 changes: 14 additions & 0 deletions exercises/dnd-character/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
presets: [
[
'@babel/env',
{
targets: {
node: 'current',
},
useBuiltIns: false,
},

],
],
};
117 changes: 117 additions & 0 deletions exercises/dnd-character/dnd-character.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
import { Character, abilityModifier } from './dnd-character';

describe('D&D Character', () => {
describe('Ability modifier', () => {
test('ability modifier for score 3 is -4', () => {
expect(abilityModifier(3)).toEqual(-4);
});

test('ability modifier for score 4 is -3', () => {
expect(abilityModifier(4)).toEqual(-3);
});

test('ability modifier for score 5 is -3', () => {
expect(abilityModifier(5)).toEqual(-3);
});

test('ability modifier for score 6 is -2', () => {
expect(abilityModifier(6)).toEqual(-2);
});

test('ability modifier for score 7 is -2', () => {
expect(abilityModifier(7)).toEqual(-2);
});

test('ability modifier for score 8 is -1', () => {
expect(abilityModifier(8)).toEqual(-1);
});

test('ability modifier for score 9 is -1', () => {
expect(abilityModifier(9)).toEqual(-1);
});

test('ability modifier for score 10 is 0', () => {
expect(abilityModifier(10)).toEqual(0);
});

test('ability modifier for score 11 is 0', () => {
expect(abilityModifier(11)).toEqual(0);
});

test('ability modifier for score 12 is 1', () => {
expect(abilityModifier(12)).toEqual(1);
});

test('ability modifier for score 13 is 1', () => {
expect(abilityModifier(13)).toEqual(1);
});

test('ability modifier for score 14 is 2', () => {
expect(abilityModifier(14)).toEqual(2);
});

test('ability modifier for score 15 is 2', () => {
expect(abilityModifier(15)).toEqual(2);
});

test('ability modifier for score 16 is 3', () => {
expect(abilityModifier(16)).toEqual(3);
});

test('ability modifier for score 17 is 3', () => {
expect(abilityModifier(17)).toEqual(3);
});

test('ability modifier for score 18 is 4', () => {
expect(abilityModifier(18)).toEqual(4);
});

test('ability score less than 3 throws error', () => {
expect(() => abilityModifier(2)).toThrow(
new Error('Ability scores must be at least 3')
);
});

test('ability score greater than 18 throws error', () => {
expect(() => abilityModifier(19)).toThrow(
new Error('Ability scores can be at most 18')
);
});
});

describe('Ability scores calculated properly', () => {
test('ability within range', () => {
expect(Character.rollAbility()).toBeLessThanOrEqual(18);
expect(Character.rollAbility()).toBeGreaterThanOrEqual(3);
});

test('ability scores only calculated once', () => {
const Drizzt = new Character();

expect(Drizzt.strength).toEqual(Drizzt.strength);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we want to test all of them and not just strength?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about that, but canonical-data.json only has the check on strength. I can put in the others as well if you'd like though.

});
});

describe('Random character is valid', () => {
test('character is valid', () => {
const Drizzt = new Character();

expect(Drizzt.strength).toBeLessThanOrEqual(18);
expect(Drizzt.strength).toBeGreaterThanOrEqual(3);
expect(Drizzt.dexterity).toBeLessThanOrEqual(18);
expect(Drizzt.dexterity).toBeGreaterThanOrEqual(3);
expect(Drizzt.constitution).toBeLessThanOrEqual(18);
expect(Drizzt.constitution).toBeGreaterThanOrEqual(3);
expect(Drizzt.intelligence).toBeLessThanOrEqual(18);
expect(Drizzt.intelligence).toBeGreaterThanOrEqual(3);
expect(Drizzt.wisdom).toBeLessThanOrEqual(18);
expect(Drizzt.wisdom).toBeGreaterThanOrEqual(3);
expect(Drizzt.charisma).toBeLessThanOrEqual(18);
expect(Drizzt.charisma).toBeGreaterThanOrEqual(3);

expect(Drizzt.hitpoints).toEqual(
10 + abilityModifier(Drizzt.constitution)
);
});
});
});
36 changes: 36 additions & 0 deletions exercises/dnd-character/example.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
export class Character {
constructor() {
this.strength = Character.rollAbility();
this.dexterity = Character.rollAbility();
this.constitution = Character.rollAbility();
this.intelligence = Character.rollAbility();
this.wisdom = Character.rollAbility();
this.charisma = Character.rollAbility();
this.hitpoints = 10 + abilityModifier(this.constitution);
}

static rollAbility() {
let diceRolls = [];

for (let i = 0; i < 4; i++) {
diceRolls.push(Math.floor(Math.random() * 5) + 1);
}

return diceRolls
.sort()
.slice(1)
.reduce((partialSum, num) => partialSum + num, 0);
}
}

export const abilityModifier = abilityScore => {
if (abilityScore < 3) {
throw new Error('Ability scores must be at least 3');
}

if (abilityScore > 18) {
throw new Error('Ability scores can be at most 18');
}

return Math.floor((abilityScore - 10) / 2);
};
6,656 changes: 6,656 additions & 0 deletions exercises/dnd-character/package-lock.json

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions exercises/dnd-character/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "exercism-javascript",
"version": "0.0.0",
"description": "Exercism exercises in Javascript.",
"author": "Katrina Owen",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/exercism/javascript"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"eslint": "^5.15.3",
"eslint-plugin-import": "^2.16.0",
"jest": "^24.5.0"
},
"jest": {
"modulePathIgnorePatterns": [
"package.json"
]
},
"scripts": {
"test": "jest --no-cache ./*",
"watch": "jest --no-cache --watch ./*",
"lint": "eslint .",
"lint-test": "eslint . && jest --no-cache ./* "
},
"license": "MIT",
"dependencies": {}
}
2 changes: 1 addition & 1 deletion exercises/etl/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/flatten-array/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/food-chain/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/forth/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/gigasecond/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/grade-school/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/grains/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/hamming/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/hello-world/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/hexadecimal/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/high-scores/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/house/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/isbn-verifier/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/isogram/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/kindergarten-garden/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/largest-series-product/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/leap/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/linked-list/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/list-ops/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/luhn/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/matching-brackets/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/matrix/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/meetup/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/minesweeper/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/nth-prime/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/nucleotide-count/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/ocr-numbers/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/octal/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/palindrome-products/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/pangram/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/pascals-triangle/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/perfect-numbers/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/phone-number/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/pig-latin/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/point-mutations/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/prime-factors/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/protein-translation/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/proverb/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/pythagorean-triplet/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/queen-attack/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/raindrops/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/rational-numbers/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/react/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/rectangles/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/resistor-color-duo/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/resistor-color/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/reverse-string/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/rna-transcription/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/robot-name/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/robot-simulator/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/roman-numerals/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/rotational-cipher/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/run-length-encoding/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/saddle-points/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/say/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/scrabble-score/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/secret-handshake/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/series/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/sieve/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/simple-cipher/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/simple-linked-list/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/space-age/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/spiral-matrix/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/strain/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/sublist/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/sum-of-multiples/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/transpose/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/triangle/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/trinary/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/twelve-days/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/two-bucket/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/two-fer/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/variable-length-quantity/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/word-count/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/word-search/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/wordy/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion exercises/zipper/package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@
},
"license": "MIT",
"dependencies": {}
}
}