Yes, you can play games in Emacs!

Photo by JESHOOTS.COM on Unsplash

Overview

Continue from my previous article where I walked through with you on setting up LSP and DAP for Emacs, in this article let’s explore gaming in Emacs for amusement and relaxation after a hard day of coding, all within Emacs.

Built-in Games

  • Command: M-x tetris
  • Instructions: C-h m
Tetris
  • Command: M-x snake
  • Instructions: C-h m
Snake
  • Command: M-x bubbles
  • Instructions: C-h m
Bubbles
  • Command: M-x life
  • Instructions: C-h m
  • Command: M-x animate-birthday-present
animate-birthday-present
  • Command: M-x 5x5
  • Instructions: C-h m
5x5
  • Command: M-x gomoku
  • Instructions: C-h m
Gomoku

Open any file and select the command, and you can see a random screen saver applied to the buffer.

  • Command: M-x zone
zone
  • Command: M-x mpuz
  • Instructions: C-h m
Multiplication Puzzle
  • Command: M-x pong
  • Instructions: C-h m
pong

And finally, let’s release the power of the butterfly.

  • Command: M-x butterfly
Image from https://xkcd.com/378/

There are many more games and amusements available. Refer to the References section to find out more.

Other Amusements

Install the package by M-x package-install, and then type xkcd to install the package.

Type M-x xkcd-rand to view random comics within Emacs.

xkcd

Do also check out these articles!

References

Programmer and occasional blogger.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store