There are many games hidden away in your Mac Terminal (assuming you update your Mac system at least once a year). In this How-to, you’ll be able to access the list of games you can play in the Mac Terminal as well as how to play with them.
View the List of Games
First, cd to the directory that contains Emacs. Emacs is a text-editor built into the Mac operating system.
Copy and paste the previous script.
Next, type “ls” to see the results. You should have only 2 results, one that says “site-lisp” and another that is a number.
Next, type “cd” and then the number. In this case type:
Then, copy and paste the next line of code into the terminal
Finally, type “ls” and you’ll see a list of games you can play
How to Play the Games
Now I’m sure you want to play the games.
First, open a new window of Terminal
Second, type “emacs.” Emacs user interface should appear.
Next, press the Escape-key, followed by the letter “x.” In the prompt at the bottom of the window, type the desired game you want to play and press the enter key.
Finally, enjoy the game! There are many other options such as Dunnet, a text-based RPG, or two-player Pong.
Comment if any problems occur.
I have been writing at ByteRevel since its inception in 2011 and helped make it what it is today. I’ve always been fascinated by the intersection between human phenomena and computing, specifically in fields of education, financial markets, and creative design. My programming interests are in machine learning, artificial intelligence, neural networks, cryptography, blockchain infrastructure, market making, simulation and modeling, and quantum computing.
Outside of ByteRevel, I co-founded and spent four years working on a software consulting company, Quadral Apps (It’s now defunct as the founders have all left). My interests outside of computer science are poverty alleviation, humanitarian engineering, education, financial markets and economics research.