Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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
vote
My Squiggly Lamp
Python 2, 36 bytes
print"-"*4+"\n ()"*input()+"\n/__\\"
For input 4:
----
()
()
()
()
/__\
Note that for Python that any lamp shade using pipes is a byte less.
-1 bytes thanks to @Alex!
1
vote
Draw an asterisk triangle
Noether, 14 bytes
I("*"i1+*P?!i)
Try it online
0
votes
My Squiggly Lamp
Noether, 26 bytes
"-"4*P?I(" ()"P?!i)"/__\"P
Try it online!
48
votes
14
answers
55k
views
Draw the "Cool S"
Introduction
We all know the cool S (also known as Superman S, Stüssy S, Super S, Skater S, Pointy S, Graffiti S etc. etc.): billions of schoolchildren around the world drew this S and immediately fe …
11
votes
1
answer
770
views
Keep my Trip Cool!
Challenge
Walking around Marks and Spencers, I noticed that they had air conditioning units placed randomly around the shop. Wanting to keep cool, I wondered what was the easiest way to move around t …
1
vote
Print the Australian Flag!
Python 2 - 1258 bytes
import zlib
v=len
l=zlib.decompress("x\x9c\x95\x94I\x12\x83 \x10E\xaf\xc2\x05,F\xd1l<\x87\x0b\xaar\x11\x0f\x1f\t44\x9fv\xe1\"\xd5\x08y\xbfG\x08\xbb\xfaZ\xa5\xd4\xfd\xbb\\P\xe7 …
1
vote
Antiferromagnetic ordering
BBC BASIC, 70 bytes
INPUTx:n$=STRING$(x,"/|\\|/"):PRINTn$:PRINTSTRING$(x,"\|//|\"):PRINTn$
This can probably be golfed more
1
vote
Antiferromagnetic ordering
Python 2, 47 bytes
Port of my BBC BASIC answer, taking advantage of how Python can easily reverse strings.
n=r"/|\\|/"*input();print n+"\n"+n[::-1]+"\n"+n
3
votes
Asciimation Jumping Jacks
Python 2, 99 bytes
Runs on Windows
import os,time
g=0
while 1:os.system("cls");print["\\o/\n_0_","_o_\n 0 \n/ \\"][g];time.sleep(1);g=~g
For UNIX machines, add two bytes:
import os,time
g=0
whi …
3
votes
Horizontal graph of word length
Python 3, 72 bytes
A nice one liner :)
print(''.join(map(lambda x:"*"*len(x)+"\n"*int(x!=""),input().split())))
Output:
>>> print(''.join(map(lambda x:"*"*len(x)+"\n"*int(x!=""),input().split() …
12
votes
2
answers
428
views
Beta's Snowflake
Challenge
Winter is fast approaching with many places receiving the first layers of snow for the 15/16 season, so why don't we break out the snow machines and code ourselves some snow?
Given a integ …
13
votes
4
answers
473
views
Hexagolf: Validagons
Challenge
Given an ASCII art shape, you must find out whether the shape is a regular hexagon or not.
Hexagons
A regular hexagon is defined using two rules:
It has six sides
Each side has equal nu …
2
votes
Year progress bar
Fourier, 68 bytes
Note, this has been invalidated by rule changes since it does not handle leap years
3d~D4d*30+D~s*100/365~p365(s>0{1}{9618asv~s}s{0}{9617a}i^~i)32apo37a
Try it in FourIDE!
Outpu …
26
votes
9
answers
2k
views
HexaGolf: Wordagons
See also: Rotatagons
Challenge
Given a string as input, output its wordagon.
Wordagons
A wordagon is a way of representing a string in a hexagon. Now, let's create a wordagon from the string hexa: …
16
votes
4
answers
465
views
HexaGolf: Rotatagons
See also: Wordagons
Challenge
Given a hexagon and a number n as input, output the same hexagon rotated n times.
Hexagon
The hexagon will be a string like so:
a b c
d d e e
f f o g g
h h i i
…