How To Play Games In the OS X Terminal - InformationWeek

InformationWeek is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

IoT
IoT
Infrastructure // PC & Servers
News
6/28/2011
04:46 AM
50%
50%

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


We welcome your comments on this topic on our social media channels, or [contact us directly] with questions about the site.
Previous
1 of 2
Next
Comment  | 
Print  | 
More Insights
Slideshows
IT Careers: Top 10 US Cities for Tech Jobs
Cynthia Harvey, Freelance Journalist, InformationWeek,  1/14/2020
Commentary
Predictions for Cloud Computing in 2020
James Kobielus, Research Director, Futurum,  1/9/2020
News
What's Next: AI and Data Trends for 2020 and Beyond
Jessica Davis, Senior Editor, Enterprise Apps,  12/30/2019
White Papers
Register for InformationWeek Newsletters
Video
Current Issue
The Cloud Gets Ready for the 20's
This IT Trend Report explores how cloud computing is being shaped for the next phase in its maturation. It will help enterprise IT decision makers and business leaders understand some of the key trends reflected emerging cloud concepts and technologies, and in enterprise cloud usage patterns. Get it today!
Slideshows
Flash Poll