https://github.com/jiro4989/nimtetris
A terminal tetris in Nim.
https://github.com/jiro4989/nimtetris
console nim tetris tui
Last synced: 15 days ago
JSON representation
A terminal tetris in Nim.
- Host: GitHub
- URL: https://github.com/jiro4989/nimtetris
- Owner: jiro4989
- License: mit
- Created: 2019-02-16T14:32:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-18T18:33:06.000Z (almost 5 years ago)
- Last Synced: 2025-03-31T17:50:59.034Z (about 2 months ago)
- Topics: console, nim, tetris, tui
- Language: Nim
- Homepage:
- Size: 291 KB
- Stars: 24
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
====
nimtetris
====|nimble-version| |nimble-install| |gh-actions|
A terminal tetris in Nim.
Linux demo:
|demo-linux|
Windows demo:
|demo-win|
.. contents:: Table of contents
Usage
=====.. code-block:: shell
$ nimtetris
Key bindings
------------Vim like key-bindings.
=============== ===================
Key Motion
=============== ===================
H / A Move left
J / S Move down
L / D Move right
U / Q Rotate left
O / E Rotate right
/ Move down to bottom
=============== ===================Installation
============.. code-block:: shell
$ nimble install -Y nimtetris
or
Download from `Releases `_.
LICENSE
=======MIT
.. |gh-actions| image:: https://github.com/jiro4989/nimtetris/workflows/build/badge.svg
:target: https://github.com/jiro4989/nimtetris/actions
.. |nimble-version| image:: https://nimble.directory/ci/badges/nimtetris/version.svg
:target: https://nimble.directory/ci/badges/nimtetris/nimdevel/output.html
.. |nimble-install| image:: https://nimble.directory/ci/badges/nimtetris/nimdevel/status.svg
:target: https://nimble.directory/ci/badges/nimtetris/nimdevel/output.html
.. |demo-linux| image:: https://user-images.githubusercontent.com/13825004/85140962-01dce300-b281-11ea-9473-2d558c0881c0.gif
.. |demo-win| image:: https://user-images.githubusercontent.com/13825004/85143527-cf34e980-b284-11ea-8997-5f5e3039ca32.gif