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/layers/+fun/games
justbur b0ee301845 layers: Conditionally load helm packages
Only use them when the spacemacs-helm layer is used.
2016-01-09 13:36:03 -05: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 layers: Conditionally load helm packages 2016-01-09 13:36:03 -05:00
packages.el Remove package guards for evilified 2015-11-21 11:07:14 +01:00
README.org Update install layer section in REAMDE.org files 2016-01-06 00:21:55 -05:00

Games layer

/TakeV/spacemacs/media/commit/efd122d6c5b3d3a11e5b4b7d5c1750ab678a427a/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 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 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