项目作者: mariorodeghiero

项目描述 :
Challenge: Valid Chess Moves
高级语言: JavaScript
项目地址: git://github.com/mariorodeghiero/valid-chess-moves.git
创建时间: 2019-01-13T00:56:23Z
项目社区:https://github.com/mariorodeghiero/valid-chess-moves

开源协议:MIT License

下载




# Valid Chess Moves

Chess is a two-player strategy board game played on a chessboard, a checkered game board with 64 squares/cells arranged in an 8x8 grid. Algebraic notation in chess is a method to map cells using A to H as columns (left to right) and 1 to 8 as rows (bottom to top).
A knight can move either 2 squares horizontally and 1 square vertically OR 2 squares vertically and 1 square horizontally.
The user selects the starting position and clicks the button, the application highlights all the cells where the Knight can move in exactly 2 turns. More details in this PDF

contributions welcome
Feature Requests
Bugs
The MIT License



Built With

Note: The API is available in this repository

Style Guide

Note: Insert “editor.formatOnSave”: true into your User Settings in VSCode.

Install

First, clone the repository via git:

  1. git clone https://github.com/mariorodeghiero/valid-chess-moves.git your-project-name

And then install dependencies with yarn.

  1. $ cd your-project-name
  2. $ npm install

Run

  1. $ npm run start

After run, the browser open window automatically at http://localhost:3000/

Deployment

Run the command below to deploy, minimizing All Files.

  1. $ npm run build

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Author

Contributors

Mário Rodeghiero

| Mário Rodeghiero

License

This project is licensed under the MIT License - see the LICENSE.md file for details