spacemacs/layers/+fun/games
justbur 6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00
..
extensions/helm-games Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
config.el Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
extensions.el Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
packages.el Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
README.org Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00

Games contribution layer for Spacemacs

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

Table of Contents   TOC@4

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