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

Tetris

  • Command: M-x tetris
  • Instructions: C-h m
Tetris

Snake

  • Command: M-x snake
  • Instructions: C-h m
Snake

Bubbles

  • Command: M-x bubbles
  • Instructions: C-h m
Bubbles

Conway’s Game of Life

  • Command: M-x life
  • Instructions: C-h m

Text Animation

  • Command: M-x animate-birthday-present
animate-birthday-present

5x5

  • Command: M-x 5x5
  • Instructions: C-h m
5x5

Gomoku

  • Command: M-x gomoku
  • Instructions: C-h m
Gomoku

Zone

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

  • Command: M-x zone
zone

Multiplication Puzzle

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

Pong

  • Command: M-x pong
  • Instructions: C-h m
pong

Butterfly

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

XKCD

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

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