Git hosting

svg-2048: Graphical 2048 implementation for Emacs

Clone

git clone https://depp.brause.cc/svg-2048.git

Files

Size Path
img/
35148 LICENSE
1161 README.md
21881 svg-2048.el
6264 svg-animation-demo.el

README.md

Screencast

About

A port of the titular HTML5 game utilizing Emacs' SVG capabilities. Requires a graphical Emacs instance to run.

Installation

Install via quelpa with M-: (quelpa '(svg-2048 :fetcher github :repo "wasamasa/svg-2048")).

Usage

Run M-x svg-2048 for a new game. Asides from the original movement keys there's g for forced redrawing (useful when the window is resized) and n to start a new game. Hit q to bury the buffer.

Key bind Function
w, k, <up> Move tiles up
a, h, <left> Move tiles left
s, j, <down> Move tiles down
d, l, <right> Move tiles right
g Redraw board
n New game
q Bury buffer

Alternatives

There's four of them. Probably even more. They're all text though.