Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
258 views

The many ways to skin a `cat` [duplicate]

The well known cat command simply copies its stdin directly to stdout unchanged. But there are plenty of other commandline tools that exist... What other commands ...
CarmenCarmen's user avatar
1 vote
1 answer
393 views

Meta Obfuscate a String [closed]

There are numerous reasons for trying to obfuscate input. These include preventing decompiling, and being a nuiscance. With this in mind your challenge should your choose to accept it is to write a ...
Rohan Jhunjhunwala's user avatar
6 votes
3 answers
3k views

Eiffel Tower in 3D

This challenge asks you to draw the Eiffel Tower in 3D using different ASCII characters to represent the different sides, similar to this cube: ...
user avatar
6 votes
2 answers
2k views

2D javascript table graphics

The challenge Make a JavaScript program that can use a HTML table as a canvas, having each cell a pixel. You can either input the position and color values in a form or by using the console. Score ...
ioanD's user avatar
  • 163
8 votes
1 answer
703 views

Graphical, networked, two-(human)-player Tic-Tac-Toe [closed]

Create a Tic-Tac-Toe game that allows two human players to play against each other using two networked devices. Requirements: Network play. Program must let both players know whose turn it is. ...
Wally's user avatar
  • 483
276 votes
141 answers
505k views

I need a program where the user inputs an array of doubles and the program outputs the array sorted

Note: This question was severely edited since I first posted it here. The rules were moved to here, read them before posting any answer to understand the purpose of this. This was the first question ...
Victor Stafusa's user avatar
8 votes
3 answers
1k views

Tic Tac Tae Toe

(Better known as 3D Tic Tac Toe; I just made up a name that sounded catchy ;-) ) Let two people play this game against each other. Specifications: Output the easiest way of explaining this will be ...
Doorknob's user avatar
  • 71.7k
4 votes
13 answers
1k views

Same code shape and output shape [closed]

I am not sure if this is possible. I have tried it and couldn't make it work at all, but I am being hopeful. If this is not possible please flag this question and I will promptly delete it. ...
Quillion's user avatar
  • 851
4 votes
0 answers
339 views

Program which tells two different storys [closed]

this code looks like a story but does nothing useful. My challenge for you guys is to write piece of code which sounds like another story but it must generate output - another story. So the point of ...
ST3's user avatar
  • 1,369
6 votes
10 answers
2k views

Eight Queens Obsfucation [closed]

You've probably heard of the classic Eight Queens Puzzle. For those of you who haven't it goes something like this: Position 8 queens on an 8×8 chessboard so that no two queens threaten each ...
LazySloth13's user avatar
46 votes
7 answers
14k views

(Re)Implementing Tetris

In the spirit of re-implementing classic video games, I would like to invite the community to create their best implementation of Tetris. For reference, a screenshot of the official NES version of ...
primo's user avatar
  • 33.5k
5 votes
29 answers
1k views

Constant output program [closed]

I was wondering how one might go and produce a program that takes input from some kind of random source and uses it to produce constant output. An obvious way is, for example, to take an integer x and ...
user3988's user avatar
47 votes
15 answers
7k views

Generate the Stack Overflow logo [closed]

The challenge is to generate an image similar to the StackOverflow logo: The output must contain: Image size 64*64 or greater A gray |__| shaped base A curved segmented stack coming up from the base....
Pubby's user avatar
  • 1,249
4 votes
4 answers
780 views

April Fools Jokes [closed]

Figure out how to mess up another programmer's project by making a subtle, hard to find (but "harmless") "bug". (Double quotes FTW!) Try to keep them short; ...
Mateen Ulhaq's user avatar
  • 1,973
53 votes
21 answers
5k views

Add a feature to a programming language [closed]

Your task is to tack on a feature to a programming language, either by implementing a very clever library, or by processing the input text and/or tweaking the compilation process. Ideas: Add PHP-...
Joey Adams's user avatar
  • 10.6k
3 votes
9 answers
3k views

Partition of a positive integer N [closed]

Find the number of partitions of a positive integer n. Hope someone uses the explicit finite formula for the partition function defined in Jan Hendrik Brunier and Ken Ono paper here. ...
fR0DDY's user avatar
  • 4,597