Linked Questions

1255 votes
6 answers
328k views

Here is a theoretical question - one that doesn't afford an easy answer in any case, not even the trivial one. In Conway's Game of Life, there exist constructs such as the metapixel which allow the ...
Joe Z.'s user avatar
  • 35.5k
560 votes
1 answer
198k views

Your task is to build a Game of Life simulation representing a digital clock, which satisfies the following properties: The clock displays the hours and minutes in decimal (e.g. ...
Joe Z.'s user avatar
  • 35.5k
37 votes
14 answers
5k views

Your challenge is to write a code-golf HTTP server that accepts GET requests. It obviously doesn't have to be fully featured, but it must serve files from a directory. Rules: The HTTP server must ...
Polynomial's user avatar
  • 4,544
47 votes
7 answers
14k views

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.7k
37 votes
8 answers
5k views

Based on a comment by George Edison to this question, write the smallest self-interpreting interpreter. You may use the language of your choosing. Empty languages do not count. Your program must be ...
Hoa Long Tam's user avatar
  • 2,142
38 votes
7 answers
4k views

This is based on a talk on compilers I listened to a while back, but I, unfortunately, can't remember when or where. Create the shortest compiler in any language that can compile itself. Target any ...
Hoa Long Tam's user avatar
  • 2,142
19 votes
2 answers
1k views

In this task you have to write a program that reads a regular expression and generates another program that outputs whether an input string is accepted by that regular expression. The output must be a ...
FUZxxl's user avatar
  • 10.2k
8 votes
4 answers
3k views

Write a Notes and Crosses application. User interface is optional. You can output the computers move in text: eg 1x1 (meaning ...
Loki Astari's user avatar
9 votes
1 answer
2k views

This is a follow up of Print a maze question. If you like this question, please add more maze generation algorithms ;). For this task you'll have to implement a game engine for one player who must ...
Alexandru's user avatar
  • 6,140
9 votes
2 answers
2k views

Ascii Pong The challenge is to recreate the classic game "pong" in ASCII characters in the shortest code possible. Requirements/specifications The "screen" should be 45x25 characters. White space ...
Eric Vincent's user avatar