GithubHelp home page GithubHelp logo

shogimaru / shogimaru Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 1.0 21.63 MB

Shogi GUI that runs on browser

Home Page: https://shogimaru.com

License: MIT License

QMake 1.22% C++ 97.35% Shell 0.06% CSS 0.96% Batchfile 0.41%
shogi gui qt webassembly c-plus-plus cpp usi sfen wasm emscripten

shogimaru's Introduction

将棋丸

ActionsCI License Release

オープンソースの将棋 GUI を C++ で作っています。 思考エンジンと通信するための USI プロトコルに対応しており、次の特徴があります。

  • マルチプラットフォーム - Windows, macOS, Linux, WebAssembly
  • MultiPV 表示
  • UI は Qt ベース
  • 棋譜の解析モード
  • 棋譜読込・保存
  • 多言語対応(日本語、英語)

開発環境

ソースファイルをビルドして実行ファイルを作成するために、次のとおり開発環境を用意します。

  • WebAssembly

    • Emscripten
    • Qt for WebAssembly (multithread)
      Qt Company が提供している WebAssembly 向けバイナリはシングルスレッド版です(2023 年 1 月現在)。マルチスレッド版はソースからビルドする必要があります。
  • デスクトップ版 - Windows, macOS, Linux

ビルド

WebAssembly 版

  1. リポジトリ取得
 $ git clone --recursive https://github.com/shogimaru/shogimaru.git
  1. 将棋思考エンジン(やねうら王)をコンパイル
    WebAssembly 向けに Makefile を適宜修正する。
 $ cd engines/YaneuraOu/source/
 $ make
  1. 将棋丸をコンパイル
  • WebAssembly(マルチスレッド版) Emscripten(3.1.14)環境を有効にした上で次のコマンドを実行する。
 $ qmake -spec wasm-emscripten CONFIG+=release && make

デスクトップ版

  1. リポジトリ取得
 $ git clone --recursive https://github.com/shogimaru/shogimaru.git
  1. 将棋丸をコンパイル
 $ qmake CONFIG+=release
 $ make

(clang の場合)
 $ qmake -spec linux-clang CONFIG+=release
 $ make

※ 将棋思考エンジンには公開されている実行ファイルを使えばよいので、ここではコンパイルする必要はない

ダウンロード

リリースされたソースコードやバイナリは こちら でダウンロードできます。

ウェブサイト

shogimaru's People

Contributors

shogimaru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

webstorage119

shogimaru's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.