simple-chess-board
v1.2.1
Published
Based on a technical test that consists of creating a chessboard with diferent dimensions
Downloads
5
Readme
simple-chess-board
Based on a technical test that consists of creating a chessboard with "rojo" and "azul" instead of "white" and "black" but in diferent dimensions
Install
Open a command line or terminal on your computer.
Run
npm install -g simple-chess-board
Usage
Run the command to start the program, followed by a number that represents the dimension of the board you want to create.
For example, if you want to create an 8x8 chessboard, you can execute the following command:
simple-chess-board 8
Output:
rojo azul rojo azul rojo azul rojo azul
azul rojo azul rojo azul rojo azul rojo
rojo azul rojo azul rojo azul rojo azul
azul rojo azul rojo azul rojo azul rojo
rojo azul rojo azul rojo azul rojo azul
azul rojo azul rojo azul rojo azul rojo
rojo azul rojo azul rojo azul rojo azul
azul rojo azul rojo azul rojo azul rojo
Contributing
If someone wants to add or improve something, I invite you to collaborate directly in this repository: simple-chess-board
License
simple-chess-board is released under the MIT License.