Linked Questions
10 questions linked to/from Pong in the shortest code
1255 votes
6 answers
328k views
Build a working game of Tetris in Conway's Game of Life
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 ...
560 votes
1 answer
198k views
Build a digital clock in Conway's Game of Life
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. ...
37 votes
14 answers
5k views
Advanced Code Golf - Write a small HTTP server
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 ...
47 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 ...
37 votes
8 answers
5k views
Self-Interpreting Interpreter
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 ...
38 votes
7 answers
4k views
Self-compiling compiler [closed]
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 ...
19 votes
2 answers
1k views
Compile Regexes
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 ...
8 votes
4 answers
3k views
Noughts and Crosses (aka Tic-Tac-Toe)
Write a Notes and Crosses application. User interface is optional. You can output the computers move in text: eg 1x1 (meaning ...
9 votes
1 answer
2k views
Build an engine for a maze game
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 ...
9 votes
2 answers
2k views
ASCII Game of Pong
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 ...