spacemacs/layers/+fun/games/README.org
Eivind Fonn c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00

1.9 KiB

Games layer

/TakeV/spacemacs/media/commit/c893383fe4ac3d61bf241a93d085cb59013046cf/layers/+fun/games/img/games.png

Description

This layer allows you to play evilified games in spacemacs.

The games available now are:

  • 2048-game
  • Pacmacs (Pacman for Emacs)
  • Tetris

Install

To use this contribution add it to your ~/.spacemacs

  (setq-default dotspacemacs-configuration-layers '(games))

Key bindings

To run a game:

Key Binding Description
SPC a G Open an helm buffer to select a game

Possible helm actions:

  • run (default)
  • quit
  • reset

2048

Key Binding Description
h Move the tiles left
j Move the tiles down
k Move the tiles up
l Move the tiles right

Pacmacs

Key Binding Description
h Move left
j Move down
k Move up
l Move right

Tetris

Key Binding Description
h Move block to the left
i Rotate block counter-clockwise
j Move block to the bottom
k Rotate block clockwise
l Move block to the right
n Start a new game
p Pause the game
q Quit the game