Skip to content

About

Mobile/Web shogi UI for lishogi.org

Topics

Resources

Stars

20 stars

Watchers

3 watching

Forks

Repository files navigation

Shogiground

lishogi.org GitHub Actions Workflow Status npm jsdelivr

Shogiground

Shogiground is a free/libre open source shogi UI forked from Chessground rewritten for lishogi.org. It supports modern desktop and mobile browsers.

Documentation & interactive demo ->

License

Shogiground is distributed under the GPL-3.0 license (or any later version, at your option). When you use Shogiground for your website, your combined work may be distributed only under the GPL. You must release your source code to the users of your website.

Features

  • Written in TypeScript with no runtime dependencies
  • Click, drag & drop, touch support, keyboard navigation, premoves, predrops, and animations
  • Configurable CSS styling, board highlights, and SVG arrows and circles
  • SFEN import/export and board dimensions up to 16×16
  • No built-in shogi rules, so you can supply your own logic for shogi and variants

Installation

npm install shogiground

Follow the setup guide to load the required CSS and create your first board.

Documentation

Development

pnpm install
pnpm compile:watch  # Build the module and watch for changes
pnpm dist:watch     # Build the standalone bundle and watch for changes
pnpm docs:dev       # Run the documentation site locally

About

Mobile/Web shogi UI for lishogi.org

Topics

Resources

Stars

20 stars

Watchers

3 watching

Forks

Sponsor this project

Contributors

Languages