Tip Details

hidden games on the Mac

The Mac comes with a version of emacs that includes several classic terminal-based games. To check these games out, first open a terminal window (applications --> utilities --> terminal). To play a game in emacs, you type emacs and hit Enter, this starts the emacs editor. Once emacs has started, hit the Escape and X keys at the same time, and then type in the name of the game you want to play.

To find out the games that are available, look in the directory /usr/share/emacs/VERSION/lisp/play where VERSION gets replaced with your actual emacs version. In my case, this is 22.1. If you do an ls of this directory (ls /usr/share/emacs/22.1/lisp/play) you'll see a list like so:

listing of the /usr/share/emacs/22.1/lisp/play directory listing of the /usr/share/emacs/22.1/lisp/play directory

Each game has two entries, one with a .elc extension and one with a .el.gz. extension. To play the game in emacs, type just the name of the game without any extension after hitting Escape X. For example, tetris, snake, life, gomoku, etc.

You're then well on your way to having a whole new library of classic games available on your Mac.
Rating: 89% positive – 48 total Votes
I Like this Tip I Don't Like this Tip
Categories: games fun Emacs Mac
Added: on Feb 04, 2008
Added By: an anonymous user
Searches: game emac mac fun type

Comments on this Tip

Add a Comment
Awesome!
– Added by an anonymous user on Feb 17, 2008
eso es de forro
– Added by an anonymous user on Feb 19, 2008
sweet... I'll never get any work done now
– Added by an anonymous user on Nov 10, 2008
yes, awesome! thanks!
– Added by an anonymous user on Nov 14, 2008
I'm about to buy a mac, thanks for this!
– Added by Hedgelender on Oct 21, 2009
Your Comment:
(how to format)
Keywords:
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

buy wow gold imvu

Categories: games fun Emacs Mac
no ratings, 0 comments
– Tip added by an anonymous user on Feb 25, 2008

terminal game on the Mac

Categories: Mac terminal games emacs
100% positive, 0 comments
– Tip added by an anonymous user on Apr 26, 2011

Play Minesweeper on the Amazon Kindle

Categories: Amazon Kindle games fun
94% positive, 0 comments
– Tip added by an anonymous user on Dec 04, 2008

Play a game in OpenOffice

100% positive, 0 comments
– Tip added by officepro on Apr 25, 2008

Play solitaire on-line

Categories: Flash games fun free
71% positive, 0 comments
– Tip added by an anonymous user on Aug 24, 2007

Play old DOS games

Categories: games fun free DOS old school
100% positive, 0 comments
– Tip added by gameboy on Apr 02, 2008

Play asteroids on any website

Categories: fun games bookmarks
100% positive, 0 comments
– Tip added by an anonymous user on Oct 02, 2010

Bing games

Categories: Bing games fun
66% positive, 0 comments
– Tip added by an anonymous user on Aug 11, 2010

Organizing mailboxes in Snow Leopard

Categories: Mac Snow Leopard Mac
100% positive, 1 comment - last added on Feb 17, 2010
– Tip added by an anonymous user on Oct 15, 2009

ASCII Star Wars movie

Categories: fun games movies terminal
100% positive, 0 comments
– Tip added by an anonymous user on Aug 21, 2008

World of Warcraft status in the Mac menu bar

100% positive, 1 comment - last added on May 18, 2009
– Tip added by an anonymous user on Aug 12, 2008

Search for flash games

Categories: flash games fun search
100% positive, 0 comments
– Tip added by an anonymous user on Oct 29, 2008

Games for mobiles

Categories: games mobiles fun free
100% positive, 0 comments
– Tip added by an anonymous user on Sep 30, 2008

How to solve crossword puzzles

100% positive, 0 comments
– Tip added by an anonymous user on Aug 25, 2008

Mac April fool's joke

Categories: Mac fun prank joke
50% positive, 0 comments
– Tip added by an anonymous user on Mar 31, 2008

Miniclip

Categories: Fun Flash Games Free
50% positive, 0 comments
– Tip added by DerrickLee2008 on Oct 25, 2007

Have your Mac announce the time

Categories: Mac fun
100% positive, 0 comments
– Tip added by Marcos84 on Oct 02, 2007

Free on-line flash games

Categories: fun Flash games free
33% positive, 0 comments
– Tip added by obelisk on Sep 10, 2007

Quake 2 and 3 ports for Android phones

Categories: Droid games fun Quake Android
no ratings, 0 comments
– Tip added by an anonymous user on Feb 26, 2010

Cool facebook game

Categories: Facebook games fun
no ratings, 0 comments
– Tip added by an anonymous user on Jun 20, 2008