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
Commentary
2021 Outlook: Tackling Cloud Transformation Choices
Joao-Pierre S. Ruth, Senior Writer,  1/4/2021
News
Enterprise IT Leaders Face Two Paths to AI
Jessica Davis, Senior Editor, Enterprise Apps,  12/23/2020
Slideshows
10 IT Trends to Watch for in 2021
Cynthia Harvey, Freelance Journalist, InformationWeek,  12/22/2020
White Papers
Register for InformationWeek Newsletters
Video
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you.
Slideshows
Flash Poll