emacs - games

Table of Contents

Play Emacs games

Among the many many things you can do with the Emacs text editor, you can also play games! To see a list of available games, list the contents of directory /usr/share/emacs/*/lisp/play:

$ cd /usr/share/emacs/*/lisp/play
$ ls *.elc
5x5.elc       decipher.elc    gamegrid.elc   life.elc       spook.elc
animate.elc   dissociate.elc  gametree.elc   morse.elc      studly.elc
blackbox.elc  doctor.elc      gomoku.elc     mpuz.elc       zone.elc
bubbles.elc   dunnet.elc      handwrite.elc  snake.elc
cookie1.elc   fortune.elc     hanoi.elc      solitaire.elc

To play one of these games, start Emacs, press Esc + x to execute a program, and type the name of the game you want to play:

M-x 5x5
 .... .... .... .... .... 
 .... .... .... .... .... 
 .... .... .... .... .... 
 .... .... #### .... .... 
 .... .... #### .... .... 
 .... .... #### .... .... 
 .... #### #### #### .... 
 .... #### #### #### .... 
 .... #### #### #### .... 
 .... .... #### .... .... 
 .... .... #### .... .... 
 .... .... #### .... .... 
 .... .... .... .... .... 
 .... .... .... .... .... 
 .... .... .... .... .... 

On: 5 Moves: 0

Some of these games are interesting, so give them a try!


Links to this note