24ik / pon2

Application for Puyo Puyo & Nazo Puyo
https://24ik.github.io/pon2/?kind=n&mode=e&field=t-&pairs&req-kind=0&req-color=0
Apache License 2.0
2 stars 0 forks source link
nazopuyo nim puyopuyo

Pon! Tsu

Pon! Tsu is an application and library for Puyo Puyo and Nazo Puyo.

Features:

Not supported now:

Note that now I am working hard on CUI and web-GUI development, and the native-GUI application is beta version.

Installation

Downloading Built Binary

You can get the built binary at the latest release.

Manual Installation

nimble install pon2 -p:-d:danger

If you want to specify the instruction set, use the following command:

nimble install pon2 -p:-d:danger -p:-d:pon2.avx2=<bool> -p:-d:pon2.bmi2=<bool>

Usage

CLI or Native Application

Run pon2 -h.

Web Application

See the documentations:

For Developers

It is necessary to place the assets directory to the one specified by -d:pon2.assets.native or -d:pon2.assets.web.

Known Issues

API Usage

See the API documentation.

Running Tests

nimble test

Writing Tests

  1. Create a new directory directly under the tests directory.
  2. Create a new file main.nim in the directory.
  3. Write the entry point of the test as main() procedure in the file.

Generating Web Page

Run the following command to generate files in the www directory.

nimble web

Contribution

Please work on a new branch and then submit a PR for the main branch.

License

Apache-2.0

See LICENSE and NOTICE for details.