Infrastructure // PC & Servers
04:46 AM

How To Play Games In the OS X Terminal

You can actually play simple games in your Mac's Terminal.

BYTE -- Here's a fun geek trick in OS X. Within the Terminal on your Mac is something called emacs. It's a text editor tool found in most Unix-based systems. Hardcore geeks love it, and you can have some fun with it too. It's easier than you think.

To access the Terminal, go to: Applications>Utilities>Terminal

When the Terminal window pops up, type in the following command:emacs

Then hit Enter. You will see GNU emacs. There, you can see the version number (22.1, highlighted in the image below). Keep that in mind for later.

After that, press [ESC]X.

You'll be prompted to enter an M-x command. You can enter any of the commands shown below.

You can view this list by opening a new terminal window and typing in this command (note the space after “ls”): ls /usr/share/emacs/(version number)/lisp/play

So mine looks like this: ls /usr/share/emacs/22.1/lisp/play

1 of 2
Comment  | 
Print  | 
More Insights
Server Market Splitsville
Server Market Splitsville
Just because the server market's in the doldrums doesn't mean innovation has ceased. Far from it -- server technology is enjoying the biggest renaissance since the dawn of x86 systems. But the primary driver is now service providers, not enterprises.
Register for InformationWeek Newsletters
White Papers
Current Issue
Increasing IT Agility and Speed To Drive Business Growth
Learn about the steps you'll need to take to transform your IT operation and culture into an agile organization that supports business-driving initiatives.
Twitter Feed
InformationWeek Radio
Sponsored Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.