Skip to content

CollectiveLearning/ChessBoard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Problem

A chess board is composed by boxes black and white. The boxes are arranged by alternating the colors.

For this example, you need to replace black by 0 and white by 1, also the board size (columns and rows) is defined by the user.

Input

columns = number

rows = number

Output

$ your_script.rb 5 8
01010
10101
01010
10101
01010
10101
01010
10101

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages