This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/fun/games
2015-05-17 21:50:19 -04:00
..
extensions/helm-games games layers: game selection front-end on SPC a G and add Tetris 2015-05-16 23:57:28 -04:00
img games layers: game selection front-end on SPC a G and add Tetris 2015-05-16 23:57:28 -04:00
config.el games layers: game selection front-end on SPC a G and add Tetris 2015-05-16 23:57:28 -04:00
extensions.el games layers: game selection front-end on SPC a G and add Tetris 2015-05-16 23:57:28 -04:00
packages.el games layer: remove unnecessary key binding for 2048 2015-05-17 21:50:19 -04:00
README.md games layers: game selection front-end on SPC a G and add Tetris 2015-05-16 23:57:28 -04:00

Games contribution layer for Spacemacs

logo

Table of Contents

Description

This layer allows you to play evilified games in spacemacs. The games available now are:

  • 2048-game
  • 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

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