Skip to main content

Play Tetris and text-based games hidden in your Mac’s Terminal

terminal-doctor_dt
Image used with permission by copyright holder

Has modern gaming got you down? Do you long for the days of Oregon Trail? Is Tetris the pinnacle of gaming for you? If so, MacLife uncovered a few games buried in your Mac’s Terminal shell using a program called emacs (not to be confused with the Apple eMac). While Terminal may look like the equivalent of the business-front to the party-back of OS X’s graphical interface, it’s useful for programming and digging deeper into the UNIX base that OS X is built upon. Plus, there are a few treats buried within it.

While Call of Duty isn’t secretly buried within your Mac, there are at least four different games built into emacs that are accessed via the Terminal, including a very basic version of Tetris, a text-based adventure game, and even a “psychotherapist” who reads like a joke psychoanalyst crossed with the attitude of Siri. There’s also a program that generates random patterns made out of “@” signs that’s oddly hypnotic to watch.

So how do you access these slightly hidden games? First, open the Terminal either from the Applications folder or by searching for it. At the command prompt type “emacs,” then hit the enter key. Next, press the ESC key and then the letter “x.” For Tetris, type in “tetris” and hit enter. For the psychotherapist, type “doctor,” and for the random “@” patterns, type “life.” Hit enter after each command. If you’re unable to input a command, press the ESC key and “x” again. 

Accessing the text adventure takes a little more work. At the command prompt when you first open Terminal, type “emacs -batch -l dunnet” and press enter. Navigate around the game by entering commands such as “Take shovel” or “Go southeast.” Typing “help” will give you a full list of commands as well as tips for playing the game. Have fun! 

Topics
Meghan McDonough
Former Digital Trends Contributor
Meghan J. McDonough is a Chicago-based purveyor of consumer technology and music. She previously wrote for LAPTOP Magazine…
Flex your GPU’s power with the best ray tracing PC games
Blades clashing in Bright Memory: Infinite.

Ray tracing is the lighting tech that defines the look of many modern AAA games. Demanding as it is, most of the best gaming desktops come with ray tracing-capable hardware, allowing you to experience the most graphically demanding technique games currently have access to.

Just because a game has great graphics doesn't mean it's a great showcase of ray tracing, though. For example, Hitman 3's ray tracing update was a disappointment. We catered our list toward games that best showcase ray tracing, so you can use them for bragging rights or just to see what your PC is capable of.

Read more
GeForce Now brings native resolution PC gaming to the MacBook Pro
Shadow of the Tomb Raider on a MacBook Pro.

You can finally use GeForce Now on a MacBook Pro at its native aspect ratio. When Nvidia announced the RTX 3080 tier for its GeForce Now cloud gaming service, the company said streams would run at the native resolution of 1600p. Now, that's available as part of the latest GeForce Now update.

The M1 Max and M1 Pro MacBook Pros feature beefy GPUs, but they're not tuned for gaming. The list of the best Mac games isn't too large, either. That's where GeForce Now comes in, allowing you to play any supported PC game on your MacBook Pro, MacBook Air, iMac, or iOS device without worrying about performance or compatibility.

Read more
Even with 32 GPU cores, the M1 Max MacBook Pro still isn’t a gaming destination
Lifestyle image of someone using the new Macbook Pro 2021.

Apple announced the new M1 Max chip at its Apple Unleashed event on October 18. The updated system on a chip (SoC) features some big improvements -- the most impressive of which is a staggering 32 GPU cores. That's four times as many as the Apple M1, the notion of which pushed my rotted PC gamer brain to one place: Portable MacBook gaming.

With a much higher core count, the M1 Max MacBook Pro should offer a big boost to gaming performance compared to the M1. That doesn't mean the MacBook Pro is a gaming laptop, though. It was never designed that way, and a lacking library of Mac titles means that most games won't be able to take advantage of the extra horsepower.
32 graphics cores

Read more