Based on a technical test that consists of creating a chessboard with "rojo" and "azul" instead of "white" and "black" but in diferent dimensions
Open a command line or terminal on your computer.
Run
npm install -g simple-chess-board
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
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
If someone wants to add or improve something, I invite you to collaborate directly in this repository: simple-chess-board
simple-chess-board is released under the MIT License.