No description
Find a file
2021-05-02 14:50:00 +09:00
.chglog Initial commit 2020-08-27 22:23:32 +09:00
.github fix ci 2021-05-02 14:24:20 +09:00
docs add demo 2021-05-02 14:42:18 +09:00
src fix result 2021-05-02 14:16:42 +09:00
tests wip 2021-05-02 13:49:34 +09:00
tool Initial commit 2020-08-27 22:23:32 +09:00
.gitignore add tests 2021-04-29 11:27:27 +09:00
.monit.yml wip 2021-04-29 15:24:35 +09:00
LICENSE update 2020-08-27 13:24:18 +00:00
nimothello.nimble 1.0.0 2021-05-02 14:26:10 +09:00
README.rst add keybindings 2021-05-02 14:50:00 +09:00

====
nimothello
====

|nimble-version| |nimble-install| |gh-actions|

A teminal othello (reversi) in Nim.

Linux demo:

|demo-linux|

Windows demo:

|demo-windows|

.. contents:: Table of contents

Usage
=====

.. code-block:: shell

   $ nimothello

Key bindings
^^^^^^^^^^^^

Vim like key-bindings.

=============== =======
Key             Motion
=============== =======
H / A           Move left
J / S           Move down
K / W           Move up
L / D           Move right
<Space>/<Enter> Put cell
=============== =======

Installation
============

.. code-block:: shell

   $ nimble install -Y nimothello

LICENSE
=======

MIT

Development
===========

Release workflow
^^^^^^^^^^^^^^^^

GitHub Action runs when you pushed new tags.

.. code-block:: shell

   $ git tag <new_tag>
   $ git push origin <new_tag>

   or

   $ git push origin --tags

GitHub Action creates a new release and upload your assets.

Release workflows:

|image-release-workflow|

Release note will be generated by `git-chglog <https://github.com/git-chglog/git-chglog>`_.
Config files are `.chglog <./.chglog>`_.

Details, see `release.yml <./.github/workflows/release.yml>`_.

.. |gh-actions| image:: https://github.com/jiro4989/nimothello/workflows/test/badge.svg
   :target: https://github.com/jiro4989/nimothello/actions
.. |nimble-version| image:: https://nimble.directory/ci/badges/nimothello/version.svg
   :target: https://nimble.directory/ci/badges/nimothello/nimdevel/output.html
.. |nimble-install| image:: https://nimble.directory/ci/badges/nimothello/nimdevel/status.svg
   :target: https://nimble.directory/ci/badges/nimothello/nimdevel/output.html

.. |image-release-workflow| image:: https://user-images.githubusercontent.com/13825004/87944618-9897fc00-cada-11ea-9401-74167f04b5c4.png

.. |demo-linux| image:: https://raw.githubusercontent.com/jiro4989/nimothello/master/docs/othello_linux.gif.gif
.. |demo-windows| image:: https://raw.githubusercontent.com/jiro4989/nimothello/master/docs/othello_win.gif.gif