This challenge involves creating 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.

learn more… | top users | synonyms

13
votes
2answers
384 views

Make a Snake Parser!

Snakes look like this: >>>v @ ^ v ^ >>>^ v ^ v ^<<<<<<<<< The snake can cross over itself as in this case: @ ^ >^>v ...
15
votes
4answers
425 views

Build a simple room in ASCII-art

A room can be made up of connected rectangles, for instance an L-shaped room. Such a room can be described by a list of dimensions describing the size of each rectangle. Assume you have two input ...
4
votes
0answers
179 views

Generate ASCII Art

Given a black-and-white image in any reasonable lossless format (png, ppm, etc.; filename or raw bytes) as input, output ASCII art that is as close to the input image as possible. Rules Only ...
4
votes
0answers
109 views

Implode the Box

ASCII boxes look like this: ++ +---+ +------+ +---+ +---+ ++ | | | | | | | | | | | | | | | | +-+ | | | | | | | | +-+ ...
16
votes
3answers
704 views

PPCG Senior Prank

We're graduating to a full site soon, and there's only one thing left to do before graduation: pull a senior prank! I think we should do a variation on the classic "fill a hallway with cups of water" ...
9
votes
1answer
106 views

Diagram of a leaper [duplicate]

Given an input of a pair of nonnegative integers describing a leaper in chess, output a diagram of the squares to which the leaper can move. From Wikipedia's description: An (m,n)-leaper is a ...
47
votes
15answers
3k views

Shifty Eyes Shifting I's

Shifty-eyes ASCII guys like to shift ASCII Ii's: >_> <_< >_< <_> Given a string of shifty-guys, spaced apart or separate lines, shift the Ii's side to side, left the wall ...
17
votes
8answers
1k views

Draw an ASCII house

This is a window: --- | | --- Let's add some walls |. Put two spaces on either side of it so that the window has plenty of room. | --- | | | | | | --- | Now let's add a roof and a ceiling. ...
18
votes
3answers
377 views

Text on a circle

Write a program or function that prints an input string around the discrete circle that has the minimum possible radius. For example, for input This is an example, your program should output: a si ...
30
votes
5answers
2k views

Italicize ASCII art

Given an input of an ASCII art picture, output the ASCII art italicized. To italicize the ASCII art: Insert zero spaces before the last line, one space before the second-last line, two spaces ...
27
votes
3answers
2k views

Does the water ultimately reach the tank?

In the ASCII art world, there is water, hash walls and letter mechanisms. You are in a room made up of hash walls (# signs): ####### # # # # # # # ### # # # ####### You install an ...
49
votes
9answers
3k views

Quack the Angry Duck

No one is quite certain what the emoticon >:U is intended to represent, but many scholars believe it looks like an angry duck. Let's assume that's the case. Task Given an integer n between 0 and ...
12
votes
1answer
165 views

Visualize long addition with ASCII art

Totally not inspired by Visualize long division with ASCII art ;) Your job is to show long hand addition with ASCII art. You solve longhand addition by adding up the columns right to left, placing ...
31
votes
9answers
4k views

Picture of an old friend in ASCII art

I hope this picture looks familiar to you. It's one of Pacman's ghosts in his "vulnerable" state, after Pacman has eaten a power pill. The challenge Picture our ghost in a little frame, using ...
6
votes
5answers
426 views

Put on your sunglasses

Introduction You are probably familiar with the "puts on sunglasses" emoticon-meme: (•_•) ( •_•)>⌐■-■ (⌐■_■) In this challenge, your task is to take the first line as input, and output the last ...
9
votes
4answers
151 views

ASCII dank star

Input description A string (for best results, all characters should be printable and be the same width). Output description A character star following the pattern: 0 0 0 1 1 1 222 0123210 ...
33
votes
31answers
2k 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 ...
21
votes
10answers
802 views

Draw a timeline

Given an input of a list of integers representing dates, output an ASCII art timeline like the following: <-----------------------------> A B C D E The above timeline is ...
7
votes
2answers
116 views

Convert to ASCII Agrippa Numbers

Challenge Given a natural number, output it in the ASCII form of Agrippa's number system. Description I like odd alphabets and numeral systems. My favorite numeral system is one given by Heinrich ...
27
votes
11answers
3k views

Frame this nice ASCII-Art

Introduction I think everyone agrees that nice pictures have to have a nice frame. But most challenges on this site about ASCII-Art just want the raw picture and don't care about it's preservation. ...
14
votes
6answers
735 views

Output the current time in ascii art

Challenge Your task is to output the time (in 12 hour time) in ascii art. All characters that will be used are as follows: ___ __ ___ ____ _ _ _____ __ ______ / _ \ /_ | ...
14
votes
3answers
175 views

Connect the Dots

Given a series of os representing dots, connect them vertically or horizontally Examples Input: o o o Output: o---o | | o Input: o o o o Output: o---o----o | o ...
12
votes
3answers
350 views

Challenge about advacado

Inspired by this. No avocados were harmed in the making of this challenge. Hello I have challenge I need help juic an avocado so I need program to tell me how long to juic avocad for Observe this ...
13
votes
3answers
226 views

Illustrate football team formations on a pitch

Football is the sport where players kick the ball, not carry it. Some confused individuals might call this soccer. A football team has one goalkeeper, and 10 players out on the pitch. There are ...
18
votes
13answers
2k views

Molding ASCII art

You are given a single printable ASCII string containing no newlines, and a multiline "mold", containing spaces (), and hashes (#). You must go character by character in the string, and replace ...
11
votes
8answers
687 views

Eat the Chocolate Bar

I have a chocolate bar and I need help eating it so you'll be writing a program just to do that. Explanation The first line is the input. Examples are separated by an empty line. 7 ____ __|__| ...
14
votes
5answers
413 views

Find the coastline

Your task is to find the length of the coastline of a map of islands provided in an ASCII map. The input map will consist of 1 or more # characters that indicate land, and spaces which indicate water. ...
6
votes
3answers
200 views

It's snowing in my consoles window!

You love watching the snow falling outside, but you know it won't be snowing much longer. You could take a video, but decide to make a snow animation because ... um ... you need to practice your ...
16
votes
3answers
452 views

Label dead ends

Given an input of an ASCII art "road," output the road with all dead ends labelled. This is a road: ########.....######..#..### #......#######....#..#..#.# #.##......#...#####..#..### ...
27
votes
24answers
3k views

Help me Open the Box

I have an ASCII-art box and I need a program to open it. Examples Input: ------- | | |_____| Output: / / / / / / / | | |_____| Specification The first line will ...
8
votes
4answers
272 views

ASCII Box rendering

Task Your task is to write a program that will output ASCII boxes at the locations specified by the input. Input You will be given a list of numbers. The format here is a bit flexible, in that you ...
11
votes
0answers
242 views

Draw a network of nodes

There is a network of upto 26 nodes (named A to Z or a to z as per your wish). Every pair of nodes may be connected or disconnected. A node may be connected to atmost 4 other nodes. Your task is to ...
10
votes
1answer
204 views

Draw and label an ASCII hexagonal grid

In my previous challenge, I drew the first diagram mostly by hand (with the help of vim's visual block mode). But surely there must be a better way... Given an input of two dimensions, a width and ...
21
votes
15answers
3k views

Geometry is So Fun

Everybody loves geometry. So why don't we try and code golf it? This challenge involves taking in letters and numbers and making shapes depending on it. The Input The input will be in the form of ...
13
votes
2answers
272 views

Apples are falling down

Introduction There is an Apple tree trunk positioned between -2 to 2 on the x-axis, where some apples fall down around it: | | | | <-------|---|-------> -2 2 ...
15
votes
6answers
433 views

Display 2d array as ASCII table

The task is to display ascii table for a given array. Input The input is an 2D matrix. The matrix's row length is same with the length of an array. Alternatively, you can take input of an 2D matrix ...
18
votes
6answers
936 views

Triangular Ulam spiral

We've had a couple of challenges about the Ulam spiral. But that's not enough. In this challenge we will plot a triangular Ulam spiral (as opposed to the usual, square Ulam spiral). Here's a sketch ...
14
votes
4answers
393 views

Make a simple pretty-comment tool

Challenge: Some ascii-art is a pain to make, but makes code comments easier to read, especially when the code is dense. The challenge is to make a simple tool that converts comments to simple ...
5
votes
2answers
438 views

Make a Surfin' Word

Your goal is to map a piece of text to a sine curve of the form: a sin ( mx - b ) Where a and m are non-zero rational numbers, b is a rational number, and the calculations are in radians. It ...
17
votes
12answers
691 views

Construct ASCII arches

I like ascii art and I get bored a lot, so I found some ascii characters and started to make random things, 8-bit mario castle, mazes, and arches. I found that the arches could easily be stacked in a ...
12
votes
4answers
189 views

Fairy chess “leaper” movement patterns

A leaper is a category of fairy chess piece which moves by "jumping." A normal knight is a (1,2)-leaper, meaning each move involves moving a distance of 1 square in an orthogonal direction and 2 ...
9
votes
1answer
240 views

What size is the digit?

7-segment digits can be represented in ASCII using _| characters. Here are the size 1 digits: _ _ _ _ _ _ _ _ | _| _| |_| |_ |_ | |_| |_| | | | |_ _| | _| |_| | |_| ...
24
votes
17answers
2k views

Build ASCII ladders

Given an input of two integers n and m, output an ASCII ladder of length n and size m. This is an ASCII ladder of length 3 and size 3: o---o | | | | | | +---+ | | | | | | +---+ | | | ...
19
votes
0answers
213 views

Reverse Engineer Bracket Rectangles

Every programmer knows that rectangles □ are really fun. To exacerbate this fun, these cute and fuzzy diagrams can be transformed into groups of interwoven brackets. This challenge is the inverse of ...
14
votes
2answers
349 views

Euclidean Vectors

Given the ASCII art of two vectors, find the resultant vector's magnitude and degree. Input This can be received via STDIN, read from a local file, or provided through a function call. Here is an ...
33
votes
5answers
890 views

Make Bracket Squares

Every programmer knows that brackets []{}()<> are really fun. To exacerbate this fun, groups of interwoven brackets can be transformed into cute and fuzzy diagrams. Let's say that you have a ...
7
votes
6answers
534 views

A 4x4 Challenge

There exists a brain game called Enumerate (which I made, based on Takuzu). Your challenge is to play this game. Task Solve a game of 4x4 Enumerate/Takuzu. Receive a starting grid via STDIN or ...
24
votes
6answers
967 views

Draw my bar graph

You have been chosen to make a program that creates some pretty ASCII bar charts. Here is the input format: [List of words (they can have spaces)] [an integer >= 0] Bar 3 This is so cool 4 IDK-Why ...
17
votes
4answers
514 views

A simple DNA simulator

Your code is going to generate a very simple ASCII-art representation of DNA, forever. It will take two numbers as input in any format you want: as a list, as arguments to a function, on stdin, etc. ...
40
votes
15answers
4k views

Hotel room numbering

Given an input of a "hotel" in ASCII art with a single room marked, output the room number according to certain rules. Here's an example of an ASCII hotel: ## ## ##### ...