Solve These Developer Challenges to Snag Free Tickets to Our Series!

[vc_row][vc_column][vc_column_text]Hey Devs,

Our series developer challenge is back in action!

Solve this to get a promo code for a free ticket to any city!

Your mission (if you choose to accept it) is to read in a string of Braille characters (using standard English Braille defined here) and print off the word in standard English letters. You only have to support the 26 English letters.

Input Description

Input will consistent of an array of 2×6 space-delimited Braille characters. This array is always on the same line, so regardless of how long the text is, it will always be on 3-rows of text. A lowered bump is a dot character ‘.’, while a raised bump is an upper-case ‘O’ character.

Output Description

Print the transcribed Braille.

Sample Input

O. O. O. O. O. .O O. O. O. OO
OO .O O. O. .O OO .O OO O. .O
.. .. O. O. O. .O O. O. O. ..

Sample Output

helloworld 

Challenge Input

.O O. .O OO O. O. .O OO O. OO O. .O O. .O
O. .O O. .. .. OO OO .. .. .. OO OO .O OO
O. O. O. O. .. O. O. O. OO .. .. .O O. .O

The answer will give you the promo code – GOOD LUCK!

BUT WAIT, THERE’S MORE! Check out our optional hard challenge for a free ticket + a chance to win a kick-ass prize:

Solve THIS optional difficult challenge to get a special promo code that will enter you in a raffle to win a yet-to-be-announced-but-will-be-kickass-for-sure prize! This challenge will only be held in San Francisco, Silicon Valley, Manhattan, Brooklyn, and our London events and you must be present to win.

Befunge is a programming language invented by Chris Pressey. The language was made with the goal of being extremely difficult to compile. This is because this language isn’t read in the same way as normal programming languages, which are read in a linear fashion. Instead, it is read in two dimensions, by following an instruction pointer throughout the file.

Your job is to create a Befunge interpreter that will take in a list of user inputs (read in order by any & or ~ command) and a two-dimensional Befunge program, and output the result.

Be careful! Befunge is a self-modifying programming language (using the p command) and can change itself during runtime!

Input Description

Line 1 will consist of any values that will be used as input to the program. every time a user input command is called, it will use the next value in your list of inputs. If there is no input needed, it should be a single zero.

The rest of your input will be the Befunge program to interpret. Befunge-93 has a maximum size of 80 characters horizontally by 25 characters vertically, so it should be within those parameters.

Output Description

The program should output a new value or character whenever an output command (. or ,) is called in your program.

Sample Inputs

Ex.1 (Simple ‘Hello World’)

0 

"!dlrow olleH">:#,_@

Sample Output

Hello world!

Challenge Input

9 

0&>:1v
|:-<
<$<v:
^ *_$.@

The answer will produce the special promo code – GOOD LUCK!!

Help

If you’re stuck, try reading a few resources such as the Wiki page

http://en.wikipedia.org/wiki/Befunge[/vc_column_text][/vc_column][/vc_row]