No description
  • Python 91.3%
  • kvlang 8.7%
Find a file
2021-05-22 19:15:10 +02:00
extra Rework loading screen 2021-05-22 19:12:40 +02:00
kioku Bump version to 0.1.1 2021-05-22 19:14:02 +02:00
tests Bump version to 0.1.1 2021-05-22 19:14:02 +02:00
.editorconfig Add .editorconfig 2021-04-20 03:55:09 +02:00
.envrc Make kivy not disable KDE comporitor 2021-05-11 18:46:04 +02:00
.flake8 Add flake8 configuration 2021-04-20 03:55:23 +02:00
.gitignore Ignore bin and .buildozer directories 2021-05-18 17:26:05 +02:00
buildozer.spec Add app icon and splash screen 2021-05-21 05:14:31 +02:00
CHANGELOG.rst Update changelog 2021-05-22 19:15:10 +02:00
LICENSE Initial import 2020-10-11 20:44:42 +02:00
poetry.lock Add Cython and buildozer to dev dependencies 2021-05-18 17:28:54 +02:00
pyproject.toml Bump version to 0.1.1 2021-05-22 19:14:02 +02:00
README.rst Add thanks section 2021-05-22 17:13:14 +02:00

kioku (記憶)
============

kioku is a simple and customizable memory game where you can create your own
levels. It's written in Python and released under the GPL3.

It can be installed both on Linux and Android.

Here you can see a `video of the game on Android`_.

.. _video of the game on Android: https://peertube.debian.social/videos/watch/be2960fa-d65f-4ead-901a-71d71e34f21f

Installation
------------

Dependencies are managed by `python poetry`_ so make sure to have it installed.

.. _python poetry: https://python-poetry.org/

Linux
^^^^^

#. Clone the repository from https://noa.mornie.org/eriol/kioku
#. Install the dependencies using ``poetry install``
#. Build the project using ``poetry build``
#. Install the wheel or the sdist you will find in ``dist/`` directory
#. Run the ``kioku`` command from CLI

Android
^^^^^^^

#. Clone the repository from https://noa.mornie.org/eriol/kioku
#. Install the dependencies using ``poetry install``
#. Build the Android app using ``poetry run buildozer -v android debug`` (beware
   that first time `buildozer`_ will download Android SDK, NDK and other stuff,
   it will take time)
#. Install the apk you will find in ``bin/`` directory

.. _buildozer: https://buildozer.readthedocs.io/en/1.2.0/

Create a new level
------------------

To create a kioku's level you only need to add **JPG** images into a **ZIP**
archive. However doing so, you will get a grid with 3 columns and the name of
the level will be `Unknown`.

To configure both the name and the columns include a `metadata.toml` file inside
the **ZIP** file with the following:

.. code:: toml

   name = "My wonderful level"
   columns_number = 4

Load a level
------------

Press the button on top right of the toolbar (the plus symbol circled) and
select the **ZIP** file using the file browser that will appear.


Gallery
-------

.. raw:: html

   <div style="display:flex;">
   <img alt="The main screen of kioku on Linux" src="extra/screenshot_main_linux.png" width="40%">
   <img alt="The game screen of kioku on Linux playing a level with cats' images" src="extra/screenshot_game_linux.png" width="40%">
   </div>

The images used in the game screen are cropped versions of the following images
released under Creative Commons licenses:

* `<https://commons.wikimedia.org/wiki/File:Tabby_cat_with_blue_eyes-3336579.jpg>`_
* `<https://commons.wikimedia.org/wiki/File:Sleeping_cat_on_her_back.jpg>`_
* `<https://commons.wikimedia.org/wiki/File:June_odd-eyed-cat_cropped.jpg>`_

Thanks
------

Many thanks to sidhe who drew kioku's logo.