6 kyu
ASCII Fun #3: Puzzle Tiles
139 of 434zruF
Description:
Because my other two parts of the serie were pretty well received I decided to do another part.
Puzzle Tiles
You will get two Integer n
(width) and m
(height) and your task is to draw following pattern. Each line is seperated with '\n'
.
- Both integers are equal or greater than 1. No need to check for invalid parameters.
- There are no whitespaces at the end of each line.
For example, for width = 4
and height = 3
, you should draw the following pattern:
_( )__ _( )__ _( )__ _( )__
_| _| _| _| _|
(_ _ (_ _ (_ _ (_ _ (_
|__( )_|__( )_|__( )_|__( )_|
|_ |_ |_ |_ |_
_) _ _) _ _) _ _) _ _)
|__( )_|__( )_|__( )_|__( )_|
_| _| _| _| _|
(_ _ (_ _ (_ _ (_ _ (_
|__( )_|__( )_|__( )_|__( )_|
For more informations take a look in the test cases!
Serie: ASCII Fun
ASCII Art
Similar Kata:
Stats:
Created | Jun 19, 2017 |
Published | Jun 19, 2017 |
Warriors Trained | 1693 |
Total Skips | 66 |
Total Code Submissions | 1807 |
Total Times Completed | 434 |
JavaScript Completions | 139 |
CoffeeScript Completions | 8 |
Python Completions | 211 |
C# Completions | 54 |
Java Completions | 36 |
PHP Completions | 12 |
Go Completions | 14 |
Total Stars | 36 |
% of votes with a positive feedback rating | 94% of 96 |
Total "Very Satisfied" Votes | 85 |
Total "Somewhat Satisfied" Votes | 11 |
Total "Not Satisfied" Votes | 0 |
Total Rank Assessments | 5 |
Average Assessed Rank | 5 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 6 kyu |