Skip to content

Latest commit

 

History

History
68 lines (55 loc) · 1.9 KB

README.org

File metadata and controls

68 lines (55 loc) · 1.9 KB

Games layer

img/games.png

Table of Contents

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 configuration layer, add it to your ~/.spacemacs. You will need to add games to the existing dotspacemacs-configuration-layers list in this file.

Key bindings

To run a game:

Key BindingDescription
SPC a GOpen an helm buffer to select a game

Possible helm actions:

  • run (default)
  • quit
  • reset

2048

Key BindingDescription
hMove the tiles left
jMove the tiles down
kMove the tiles up
lMove the tiles right

Pacmacs

Key BindingDescription
hMove left
jMove down
kMove up
lMove right

Tetris

Key BindingDescription
hMove block to the left
iRotate block counter-clockwise
jMove block to the bottom
kRotate block clockwise
lMove block to the right
nStart a new game
pPause the game
qQuit the game