PseudoLegalMoveTablebase::Xiangqi99.rb

Version Yard documentation CI RuboCop License

A computerized database that contains precalculated exhaustive pseudo-legal moves of Xiangqi99 positions.

Installation

Add this line to your application's Gemfile:

gem "pseudo_legal_move_tablebase-xiangqi99"

And then execute:

bundle

Or install it yourself as:

gem install pseudo_legal_move_tablebase-xiangqi99

Usage

PseudoLegalMoveTablebase::Xiangqi99::DB # => {"X:-K" => {0 => [[{1 => :enemy}, [0, 1, ["X:-K"], true]], ...

License

The code is available as open source under the terms of the MIT License.

About Sashite

This gem is maintained by Sashite.

With some lines of code, let's share the beauty of Chinese, Japanese and Western cultures through the game of chess!