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.

learn more… | top users | synonyms

11
votes
4answers
223 views

ASCII Art Mayan Numerals

This challenge is simple. Given a number, output a ascii-art representation of the number, using the Mayan Base-20 numeral system. What is the Mayan system? The Mayans used base 20 to store ...
11
votes
20answers
1k views

Convert a Forsyth-Edwards Notation string to ASCII art

In chess, Forsyth-Edwards Notation, more commonly called "FEN", is a textual way of transcribing boards. It describes each of the board's eight rows (called "ranks" in chess) from top to bottom from ...
9
votes
3answers
164 views

How many 14ers did I climb?

In mountaineering terminology, a "14er" is any mountain with an elevation of 14 000 feet or more. However, there is another distinction. For a peak to count as a 14er, it must also have a "geographic ...
22
votes
4answers
382 views

Can Gravity Guy Make It?

Gravity Guy is a game where the only user input is a single key that flips the direction of gravity. Given an ASCII art level, determine if it is possible for Gravity Guy to reach the end. Rules ...
19
votes
5answers
1k views

Are there More Hard Objects or Soft Objects

Tangentially inspired by the opening to the What-If book. The input is a rectangle of spaces as a string, list of string, etc., with objects made of #'s inside: ######## # # ...
41
votes
8answers
4k views

Build a triangle without any triangles

As a little kid, I liked to play with these toys a lot: They probably intended for these to be used for art, but I always used them for math! Fractals, patterns, etc. One time, I was given this ...
8
votes
3answers
476 views

420 <s>Blaze</s> Golf It

This is a pretty simple challenge, but (I hope) a fun one. Task If right now either the month is 4 and the day is 20, the hour (on a 12 hour clock) is 4 and the minute is 20, or the minute is 4 and ...
14
votes
7answers
740 views

Draw an indexed fractal

Introduction In this challenge, a 2×2 matrix is indexed like this: 0 1 2 3 We define a family of fractal-like patterns F(L), where L is a length-n list of these indices and F(L) has size ...
18
votes
5answers
1k views

Average an image

Here is an image: %%%%%%%%%%%%% % Hello, % % world! % %%%%%%%%%%%%% But it is too confusing for our undersized brains to compute. So we average it like this: Split it into 2 x 2 sections. ...
42
votes
10answers
4k views

De-Snakify a String

A regular string looks like this: Hello,IAmAStringSnake! And a string snake looks something like this: Hel l rin o,IAmASt g S !ekan Your Task String snakes ...
6
votes
7answers
275 views

Create your own Gym Exercise and follow along irl

Let's do an exercise together, shall we? Simply follow the movements of the stickman. What stickman you ask? The one we are about to create! Make a program that allows for a string-input only ...
35
votes
9answers
3k views

Snakify a String

A snakified string looks like this: T AnE eOf ifi ing h s x l A k e r isI amp Sna dSt Your Task Take a string s and a size n, then output the snakified string. The inputs ...
24
votes
3answers
578 views

Clean the muddy quartata-fish

This challenge is in honor of the Rookie of the Year category winners of Best of PPCG 2015: muddyfish (for I'm not the language you're looking for!) and quartata (for Implement a Truth-Machine). ...
15
votes
3answers
288 views

Go to opposite corner of rectangle in all directions - Harder

This is essentially the same thing as this question, except harder. You are again to write a program that gets from the lower-left corner of a rectangle to the upper-right corner. However, this time ...
13
votes
13answers
640 views

Optimal solution to go to opposite corner of a rectangle

Your job is to write a program that finds the optimal number of moves it takes to get from the lower-left corner of a rectangle to the upper-right corner directly opposite. Your program will accept ...
14
votes
7answers
762 views

Turn a string into a windmill

The code on this site is rapidly being depleted. We need to invest in renewable strings. So you must write a program that takes a string and converts it into a windmill. The Challenge Let's take a ...
9
votes
4answers
307 views

Code a code page

Introduction A code page maps integer values to a specific character. We can visualize a code page like this: +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ | | 0 | 1 | 2 | ...
31
votes
7answers
2k views

A Tiny Explorer

You are an explorer, mapping an unknown world. Your ship is carried on the wind. Where it goes, who knows? Each day, in your spyglass, you see features to the north, south, east and west. You always ...
16
votes
11answers
665 views

Create an ABACABA city

Here is the 3rd ABACABA city: _ A|_| B|__| A|_|_ C|___| A|_| B|__| A|_| It is made out of the ABACABA sequence, which is basically: A (1st iteration) place B - AB repeat A - ABA (2nd iteration) ...
3
votes
1answer
158 views

Print out a shape in printable ASCII art based on a specific number of sides provided by the user

The Challenge: Just as the title says, your challenge is to use the printable ASCII characters to create a program that prints out a random polygon in the terminal based on the number of sides, n ...
5
votes
16answers
362 views

Draw an ASCII art phone keypad

Draw the following in the fewest bytes possible: ------------------------- | | ABC | DEF | | 1 | 2 | 3 | ------------------------- | GHI | JKL | MNO | | 4 | 5 | ...
9
votes
0answers
160 views

Count the ASCII hamantaschen!

Today is Purim on which one custom is to give out triangle-shaped cookies with filling called hamantaschen (singular: hamantasch). Another custom is to drink heavily. I'm not the most perfect ...
13
votes
2answers
407 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
459 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
224 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
122 views

Implode the Box

ASCII boxes look like this: ++ +---+ +------+ +---+ +---+ ++ | | | | | | | | | | | | | | | | +-+ | | | | | | | | +-+ ...
16
votes
3answers
713 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
111 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 ...
19
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
391 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 ...
28
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 ...
50
votes
10answers
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
167 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
6answers
443 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
156 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 ...
35
votes
37answers
3k 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
838 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
122 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. ...
15
votes
6answers
755 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
177 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
367 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
231 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
695 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
419 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
206 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 ...