Tip Details

Rate as: Positive Negative

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: 86% positive, 37 total Votes
Categories: games fun Emacs Mac
Added: on Feb 04, 2008 at 8:03 am
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 at 12:42 am
eso es de forro
– Added by an anonymous user on Feb 19, 2008 at 7:38 am
sweet... I'll never get any work done now
– Added by an anonymous user on Nov 10, 2008 at 5:18 pm
yes, awesome! thanks!
– Added by an anonymous user on Nov 14, 2008 at 11:51 pm
I'm about to buy a mac, thanks for this!
– Added by Hedgelender on Oct 21, 2009 at 4:33 pm
Your Comment:
(how to format)
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 at 6:02 pm

Play Minesweeper on the Amazon Kindle

Categories: Amazon Kindle games fun
84% positive, 0 comments
– Tip added by an anonymous user on Dec 04, 2008 at 3:30 pm

Play a game in OpenOffice

100% positive, 0 comments
– Tip added by officepro on Apr 25, 2008 at 11:27 am

Organizing mailboxes in Snow Leopard

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

Play old DOS games

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

Search for flash games

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

Games for mobiles

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

ASCII Star Wars movie

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

World of Warcraft status in the Mac menu bar

100% positive, 1 comment - last added on May 18, 2009 at 8:20 am
– Tip added by an anonymous user on Aug 12, 2008 at 2:19 pm

Mac April fool's joke

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

Miniclip

Categories: Fun Flash Games Free
100% positive, 0 comments
– Tip added by DerrickLee2008 on Oct 25, 2007 at 1:54 am

Free on-line flash games

Categories: fun Flash games free
50% positive, 0 comments
– Tip added by obelisk on Sep 10, 2007 at 12:20 pm

Play solitaire on-line

Categories: Flash games fun free
50% positive, 0 comments
– Tip added by an anonymous user on Aug 24, 2007 at 3:56 pm

World of Warcraft tips

100% positive, 0 comments
– Tip added by an anonymous user on Aug 23, 2007 at 12:14 pm

How to create your own game and share it on your blog

Categories: Free games Blog My Space fun
100% positive, 0 comments
– Tip added by an anonymous user on Aug 22, 2007 at 6:01 pm

Bing games

Categories: Bing games fun
no ratings, 0 comments
– Tip added by an anonymous user on Aug 11, 2010 at 7:56 am

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 at 1:49 pm

How to solve crossword puzzles

no ratings, 0 comments
– Tip added by an anonymous user on Aug 25, 2008 at 12:18 pm

Cool facebook game

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

Have your Mac announce the time

Categories: Mac fun
no ratings, 0 comments
– Tip added by Marcos84 on Oct 02, 2007 at 8:24 am