A higher resolution is required to access the IDE
- 87
Learning Opportunities
This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.
Statement
Goal
There are Atari-style fonts, that replicate the very simple and stylized font used in classic Atari video games from the 1980s. For example, on https://opengameart.org/content/8x8-ascii-bitmap-font-with-c-sourceββ βββββββ ββ ββββ βββββ βββββ βββ β β βββββββ
ββ β ββ β β β β β β ββ β β
β β β β β ββββ β ββββ β β β β β β
ββββ β ββββ β β β β β β β β β β
β β β β β β β β β β β β ββ β
β β β β β β β βββββ β βββ β β β
Your task is to re-create this using the technique of 2-D array.
So you get the Hex-Values for all 26 uppercase letters (off the zip file from the above URL, or from below) and translate them into 8x8 bit maps. (See hint below if needed.)
In the Test-cases for this puzzle, you will write aWord in Atari font.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For convenience, here is each Hex Value followed by the letter it represents:
Hint: For each letter, you need to convert the Hex Value into a 64 bit-long Binary Value, and then split that Binary Value into 8 different lines.
Suggestion: Due to Codingame limitations, you will not be able to fully replicate this here. So once you solve this puzzle here, copy your code into your own IDE, and substitute in β instead of
Input
Line 1: a string aWord
Output
Up to 8 lines that show aWord in Atari font
β’ Use blank spaces and the characterX only.
β’ Any blank spaces at the end on a line should not be printed.
β’ Do not print any blank lines.
β’ Use blank spaces and the character
β’ Any blank spaces at the end on a line should not be printed.
β’ Do not print any blank lines.
Constraints
aWord is just uppercase letters
(no spaces or lowercase letters or numbers or symbols)
(no spaces or lowercase letters or numbers or symbols)
Example
Input
ABC
Output
XX XXXX XXX XX X X X X X X XXXX X XXXX X X X X X X X X X X X XXXX XXX
A higher resolution is required to access the IDE