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.
1,242 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
112
views
Generare a toothbrush diagram [closed]
Given a String of opening brackets and the letter G, such that it makes a applicative tree of the leaf node G and ( representing ...
13
votes
4
answers
705
views
Continue the spiral
Write a program or function which, given a clockwise spiral as input, extends that spiral by one character.
When given no input, your function returns the start of the spiral:
...
12
votes
9
answers
1k
views
Exit a pinball board
You will be given a pinball board with a ball on it. Determine where the ball will exit the board. The ball will fall straight down, unless obstructed by a left or right bumper, in which case it will ...
-4
votes
3
answers
339
views
Render a polygon...in ASCII [closed]
Given the anti-clockwise points of a properly formed, non-self-intersecting, not-necessarily-convex polygon, render it as a filled ASCII art polygon.
Input
A series of at least 3 (x,y) pairs ...
12
votes
11
answers
982
views
Squared Squares
This came to me in a dream somehow. I've seen similar questions around, but hope this is novel.
The premise is straightforward:
Input: one positive integer.
Output is a pretty square squared using ...
15
votes
5
answers
1k
views
Make a floor plan given the number of doorways
Output a floorplan of a house given the number of doorways of each room[1]. Every room is a square, and has 0 to 4 doorways. There are never doorways to the outside.
Given this input:
...
8
votes
5
answers
432
views
Output the holes
Copy the holes
Write a program/function to output pieces that would fill the holes in a given shape.
For example, given this shape:
...
16
votes
11
answers
1k
views
Generate a text shape with given area and perimeter
Write a function/program to generate an ASCII art shape with a given area and perimeter, using # and (space) characters.
Each <...
7
votes
4
answers
720
views
Ray's intersecting lines
Ray has created some ASCII lines which he is using to draw with on a canvas.
His canvas can be any width and height between 1 to 100 characters (the borders do not count towards these dimensions). He ...
19
votes
12
answers
1k
views
Print Dyck paths
Definition
A Dyck path of length \2ドルn\$ can be defined as a two-dimensional path such that:
The path consists of straight lines of equal length.
The path goes left to right while moving either up or ...
9
votes
5
answers
2k
views
Increment an ASCII-art number
Write a program or function that increments an integer. The input and output must be in one of the ASCII art fonts provided below.
...
4
votes
3
answers
625
views
Draw a hex grid of a given size
Your task is to draw a requested number of cells in a flat-topped/pointy-sided hex pattern. Each cell is 5 characters high and 8 characters wide (4 characters wide at the top and bottom).
This is a ...
4
votes
10
answers
726
views
Box drawing number display
Similar:
Display words using 7-segment display
Seven Slash Display
My first challenge
Using the box drawing symbols (─│┌┐└┘├┤┬┴┼╴╵╶╷ or ...
8
votes
7
answers
2k
views
Bring back cup stacking
Do you remember cup stacking? Young competitors compete to see how quickly they can arrange 12 upside-down plastic cups into three consecutive arrangements of cup pyramids.
The number of each cups in ...
16
votes
8
answers
2k
views
Draw all 11 cube nets
There are 11 ways of flattening a cube onto a flat surface, like a piece of paper, which can then be folded back up into a cube. Each of these is called a cube net.
Your task is to write a program or ...