Skip to content

Octa96mz/simple-chess-board

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Based on a technical test that consists of creating a chessboard with diferent dimensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published