Skip to main content
edited tags
Link
Bubbler
  • 79.3k
  • 5
  • 162
  • 484
added 185 characters in body
Source Link
user63187
user63187
  • The program must display a playing field containing at least 5 columns and 6 rows of cells.

    The program must display a playing field containing at least 5 columns and 6 rows of cells.

  • Any method of display may be used, as long as the blocks and the edges of the field are clearly marked.

    Any method of display may be used, as long as the blocks and the edges of the field are clearly marked.

  • There must be at least two types of blocks: # and ##. Additional block support such as ### or angle blocks shaped like an L will get upvoted by me :P and the most complete game of binary tetris (the most blocks like the original and rotation features) will win my happiness and a possible bounty up 50 rep.

    There must be at least two types of blocks: # and ##. Additional block support such as ### or angle blocks shaped like an L will get upvoted by me :P and the most complete game of binary tetris (the most blocks like the original and rotation features) will win my happiness and a possible bounty up 50 rep.

  • New blocks are added to the field in the top row, and one block cell must occupy the center column.

    New blocks are added to the field in the top row, and one block cell must occupy the center column.

  • Blocks descend towards the bottom row at a fixed rate. Blocks must descend even without user input.

    Blocks descend towards the bottom row at a fixed rate. Blocks must descend even without user input.

  • When blocks touch the bottom of the field or a lower block, they stop falling and are fixed in place. A new block is added.

    When blocks touch the bottom of the field or a lower block, they stop falling and are fixed in place. A new block is added.

  • When all the columns in the row are filled with blocks, the row is emptied, and all the fixed blocks above drop down one row.

    When all the columns in the row are filled with blocks, the row is emptied, and all the fixed blocks above drop down one row.

  • The program must respond to keypresses. There must be 3 unique keys that perform the following functions

    The program must respond to keypresses. There must be 3 unique keys that perform the following functions

  • shift current block left 1 column

    shift current block left 1 column

  • shift current block right 1 column

    shift current block right 1 column

  • shift current block down 1 row

    shift current block down 1 row

  • Each tweet may only have 140 characters. Using multi-byte characters that can be put in tweets is allowed.

    Each tweet may only have 140 characters. Using multi-byte characters that can be put in tweets is allowed.

  • The rules for what can be in a tweet is simple. If you can tweet it you can use it.

    The rules for what can be in a tweet is simple. If you can tweet it you can use it.

Golfing Rules:
Because the original implementation was "tweetable", this challenge requires the same. Entries must be able to be transmitted as a series of tweets (lines of 140 characters or less).

  • Interpreted languages follow the same rules. Each section must follow the specs. As long as no run time errors occur (and the rest is valid following the specs) your answer is valid Golfing Rules:
    Because the original implementation was "tweetable", this challenge requires the same. Entries must be able to be transmitted as a series of tweets (lines of 140 characters or less).

  • The first tweet must contain the name of the compiler/interpreter, the name of the program, and any command line arguments

    • it will be saved as file "P0"
  • The following N tweets must contain the program as a series of lines.

    • Each tweet will be stored in a file with the name T<n>, where n is 1..N
  • Each line will be added to the previous lines and compiled or interpreted. It must produce a valid object file or program.

  • The program does not need to be functional until the last line is added.

  • The program will be run in the following manner (pseudo-bash)

     interp,prog,args = split P0 /\s/ touch $prog for file in ./T* do cat $prog file > $prog $interp $prog $args die("FAIL") if $? #detect error done 

    The interpreter must be a commonly available executable program that does not already implement Tetris.

  • The program must display a playing field containing at least 5 columns and 6 rows of cells.
  • Any method of display may be used, as long as the blocks and the edges of the field are clearly marked.
  • There must be at least two types of blocks: # and ##. Additional block support such as ### or angle blocks shaped like an L will get upvoted by me :P and the most complete game of binary tetris (the most blocks like the original and rotation features) will win my happiness and a possible bounty up 50 rep.
  • New blocks are added to the field in the top row, and one block cell must occupy the center column.
  • Blocks descend towards the bottom row at a fixed rate. Blocks must descend even without user input.
  • When blocks touch the bottom of the field or a lower block, they stop falling and are fixed in place. A new block is added.
  • When all the columns in the row are filled with blocks, the row is emptied, and all the fixed blocks above drop down one row.
  • The program must respond to keypresses. There must be 3 unique keys that perform the following functions
  • shift current block left 1 column
  • shift current block right 1 column
  • shift current block down 1 row
  • Each tweet may only have 140 characters. Using multi-byte characters that can be put in tweets is allowed.
  • The rules for what can be in a tweet is simple. If you can tweet it you can use it.

Golfing Rules:
Because the original implementation was "tweetable", this challenge requires the same. Entries must be able to be transmitted as a series of tweets (lines of 140 characters or less).

  • The first tweet must contain the name of the compiler/interpreter, the name of the program, and any command line arguments

    • it will be saved as file "P0"
  • The following N tweets must contain the program as a series of lines.

    • Each tweet will be stored in a file with the name T<n>, where n is 1..N
  • Each line will be added to the previous lines and compiled or interpreted. It must produce a valid object file or program.

  • The program does not need to be functional until the last line is added.

  • The program will be run in the following manner (pseudo-bash)

     interp,prog,args = split P0 /\s/ touch $prog for file in ./T* do cat $prog file > $prog $interp $prog $args die("FAIL") if $? #detect error done 

    The interpreter must be a commonly available executable program that does not already implement Tetris.

  • The program must display a playing field containing at least 5 columns and 6 rows of cells.

  • Any method of display may be used, as long as the blocks and the edges of the field are clearly marked.

  • There must be at least two types of blocks: # and ##. Additional block support such as ### or angle blocks shaped like an L will get upvoted by me :P and the most complete game of binary tetris (the most blocks like the original and rotation features) will win my happiness and a possible bounty up 50 rep.

  • New blocks are added to the field in the top row, and one block cell must occupy the center column.

  • Blocks descend towards the bottom row at a fixed rate. Blocks must descend even without user input.

  • When blocks touch the bottom of the field or a lower block, they stop falling and are fixed in place. A new block is added.

  • When all the columns in the row are filled with blocks, the row is emptied, and all the fixed blocks above drop down one row.

  • The program must respond to keypresses. There must be 3 unique keys that perform the following functions

  • shift current block left 1 column

  • shift current block right 1 column

  • shift current block down 1 row

  • Each tweet may only have 140 characters. Using multi-byte characters that can be put in tweets is allowed.

  • The rules for what can be in a tweet is simple. If you can tweet it you can use it.

  • Interpreted languages follow the same rules. Each section must follow the specs. As long as no run time errors occur (and the rest is valid following the specs) your answer is valid Golfing Rules:
    Because the original implementation was "tweetable", this challenge requires the same. Entries must be able to be transmitted as a series of tweets (lines of 140 characters or less).

  • The first tweet must contain the name of the compiler/interpreter, the name of the program, and any command line arguments

    • it will be saved as file "P0"
  • The following N tweets must contain the program as a series of lines.

    • Each tweet will be stored in a file with the name T<n>, where n is 1..N
  • Each line will be added to the previous lines and compiled or interpreted. It must produce a valid object file or program.

  • The program does not need to be functional until the last line is added.

  • The program will be run in the following manner (pseudo-bash)

     interp,prog,args = split P0 /\s/ touch $prog for file in ./T* do cat $prog file > $prog $interp $prog $args die("FAIL") if $? #detect error done 

    The interpreter must be a commonly available executable program that does not already implement Tetris.

Rollback to Revision 5
Source Link
user63187
user63187

Every part only has to compile when put with the other parts Scoring:
Fewest Tweets, including P0. Ties broken by largest number of spare characters (140 * num tweets - total character count).

Every part only has to compile when put with the other parts Scoring:
Fewest Tweets, including P0. Ties broken by largest number of spare characters (140 * num tweets - total character count).

Scoring:
Fewest Tweets, including P0. Ties broken by largest number of spare characters (140 * num tweets - total character count).

added 62 characters in body
Source Link
user63187
user63187
Loading
edited tags
Link
user58826
user58826
Loading
added 290 characters in body
Source Link
user63187
user63187
Loading
added 87 characters in body
Source Link
user63187
user63187
Loading
added 110 characters in body
Source Link
user63187
user63187
Loading
Tweeted twitter.com/StackCodeGolf/status/865078662508539904
Source Link
user63187
user63187
Loading