Skip to Content

Tetris in Mac OS X Terminal

Just found something nice about Mac OS X. If you are a user of Mac OS X (Pather and Leopard OS version), then you can try this during your free time - play Tetris in Terminal. This is how to get started:

  1. Go to Applications > Utilities folder > click on Open Terminal.
  2. Type "emacs" and wait for the screen to load.
  3. Press "Esc" and type "x".
  4. Finally, type "tetris" in lowercase characters.

The above steps will bring up the Tetris game in Windows. Simply use the arrow keys to control the falling blocks. Have fun!

emacs

This works be running a program called emacs which is actually a text editor which has its own scripting language built in. Somebody coded tetris in elisp (emacs lisp, the scripting language) and for some reason it is included in the default distribution of emacs. Esc and then x is the command in emacs which allows you to execute functions in this case you call the tetris function. Of course this isn't the most useful thing about emacs so I would definitely look at it in more depth if you edit code much.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options