API to calculate the possible positions of the knight piece after exactly 2 turns
After creation, your project should look like this:
chess-api/
README.md
CONTRIBUTING.md
package.json
.babelrc
node_modules/
test/
test.js
server.js
calculatePositions.js
In the project directory, you can run:
npm install
Installs the project dependences.
npm start
Runs the server in http://localhost:3001.
npm test
Launches the test runner in the interactive watch mode.