Draft

Creating the Matrix (AKA Binary block)

Description:

So creating "the matrix" was probably pretty complicated and required advanced fictional tech although at some point they probably just needed some code to turn strings into cool looking blocks of binary. Part of this challenge includes figuring out how to turn a string into binary. Hint: all characters have a unique numerical value.

The object of this kata is to take a given string and return it in binary format as a square or binary block of n x n (e.g. 4x4) by inserting new line characters "\n" at every nth index

"0101\n1101\n1001\n1001" 

Some of the string will be lost creating a block, but its all in the name of symmetry and coolness so its fine. The console should log your 'cool' binary block!^^ (you can pass without this but wont see the block)

Stats:

CreatedNov 26, 2016
Warriors Trained44
Total Skips1
Total Code Submissions143
Total Times Completed14
JavaScript Completions14
Total Stars3
% of votes with a positive feedback rating33% of 6
Total "Very Satisfied" Votes2
Total "Somewhat Satisfied" Votes0
Total "Not Satisfied" Votes4
Total Rank Assessments4
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • Akin909 Avatar
Ad