Questions tagged [ascii-art]
This challenge involves creating or parsing pictures using text characters as the paint. Typically this uses only 95 printable (from a total of 128) characters defined by the ASCII Standard from 1963.
450 questions
103
votes
143
answers
23k
views
Print this diamond
This question has been spreading like a virus in my office. There are quite a variety of approaches:
Print the following:
...
89
votes
30
answers
8k
views
Bake a slice of Pi
Write a program or function that prints or outputs this exact text (consisting of 142 characters):
...
96
votes
54
answers
15k
views
In Honor of Adam West
Adam West passed away, and I'd like to honor his memory here on PPCG, though I doubt he knew of our existence. While there are many, many different things that this man is known for, none are more ...
71
votes
39
answers
13k
views
Enlarge ASCII art
In this challenge, you must take multiline ASCII art as input, such as:
...
184
votes
29
answers
25k
views
Do you want to code a snowman?
Here is a simple ASCII art snowman:
_===_
(.,.)
( : )
( : )
Let's make him some friends. This will be the general pattern for our ASCII art snowpeople:
...
51
votes
24
answers
8k
views
Minecraft Mirrored
This is Calvin. Just trying to get 20 rep so this user can chat in the PPCG Minecraft Server chatroom.
Write a program or function that takes in a positive integer.
If the integer is even (2, 4, 6, ....
49
votes
32
answers
8k
views
Very Simple Triangles
Write a program or function that takes in a positive integer (via stdin, command line, or function arg) and prints or returns a string of that many of these small triangles tiled together, alternating ...
35
votes
50
answers
11k
views
Will Jimmy fall off his platform?
Backstory
Meet my friend Jimmy:
/o\
Jimmy is a little character who likes to stand on platforms. Here's Jimmy safely standing on a platform:
...
34
votes
5
answers
2k
views
Chain reaction of bombs
Introduction:
Before the task, here is what every element does on the map:
Plain land (X): This does nothing.
Destroyed land (...
27
votes
17
answers
14k
views
Transform number into 7-segment display pattern [closed]
Given two arbitrary numbers A,B. Print number B as a Digital LED Pattern where A is the scale.
input:
1 2320451640799518
ouput:
...
18
votes
9
answers
2k
views
Find the shortest route on an ASCII road
You want to find the length shortest path between two points, on an 2d ASCII "map". The roads are made up of + characters, and the two endpoints are represented by <...
17
votes
6
answers
2k
views
Golf me an ASCII Alphabet
Don't you find that reading simple text isn't appealing enough? Try our
...
100
votes
57
answers
9k
views
5 Favorite Letters
The challenge is actually extremely simple. Pick 5 distinct letters (you can just pick the 5 that allow you the shortest code if you like) and output them to the console. However, the twist is that ...
67
votes
69
answers
7k
views
Print N Squared
Write a program or function that takes in a non-negative integer N from stdin or as a function argument. It must print or return a string of a hollow ASCII-art square whose sides are each made with N ...
34
votes
40
answers
7k
views
Render "Digital Clock Style" Numbers
Write the shortest program which will take a string of numbers (of up to at least 20 length) as input, and display the output using the standard digital clock style numbers. For instance for input 81,...