All Projects → ornicar → Chessground

ornicar / Chessground

Licence: gpl-3.0
Mobile/Web chess UI for lichess.org

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Chessground

php-chess
A chess library for PHP.
Stars: ✭ 42 (-91.65%)
Mutual labels:  chess, board
Pleco
A Rust-based re-write of the Stockfish Chess Engine
Stars: ✭ 137 (-72.76%)
Mutual labels:  board, chess
elo-js
Elo algorithm implementation in JS.
Stars: ✭ 18 (-96.42%)
Mutual labels:  chess
Command Line Chess
A python program to play chess against an AI in the terminal.
Stars: ✭ 378 (-24.85%)
Mutual labels:  chess
Fishnet
Distributed Stockfish analysis for lichess.org
Stars: ✭ 306 (-39.17%)
Mutual labels:  chess
Stlink
Open source STM32 MCU programming toolset
Stars: ✭ 3,158 (+527.83%)
Mutual labels:  board
Summer
这是一个支持分布式和集群的java游戏服务器框架,可用于开发棋牌、回合制等游戏。基于netty实现高性能通讯,支持tcp、http、websocket等协议。支持消息加解密、攻击拦截、黑白名单机制。封装了redis缓存、mysql数据库的连接与使用。轻量级,便于上手。
Stars: ✭ 336 (-33.2%)
Mutual labels:  chess
ChessPositionRanking
Software suite for ranking chess positions and accurately estimating the number of legal chess positions
Stars: ✭ 78 (-84.49%)
Mutual labels:  chess
Django Machina
A Django forum engine for building powerful community driven websites.
Stars: ✭ 454 (-9.74%)
Mutual labels:  board
Nextcloud Deck
📋 Android client for nextcloud deck app
Stars: ✭ 318 (-36.78%)
Mutual labels:  board
Maia Chess
Maia is a human-like neural network chess engine trained on millions of human games.
Stars: ✭ 360 (-28.43%)
Mutual labels:  chess
Lucaschess
Chess GUI
Stars: ✭ 305 (-39.36%)
Mutual labels:  chess
Icezum
🌟 IceZUM Alhambra: an Arduino-like Open FPGA electronic board
Stars: ✭ 280 (-44.33%)
Mutual labels:  board
Forum
Phalcon official Forum
Stars: ✭ 358 (-28.83%)
Mutual labels:  board
Lichess Bot
A bridge between Lichess API and chess engines
Stars: ✭ 258 (-48.71%)
Mutual labels:  chess
Stockfish Mac
Beautiful, powerful chess app for the Mac
Stars: ✭ 404 (-19.68%)
Mutual labels:  chess
UUAmountBoardView
[iOS]带有数字(金额)滚动效果的UI控件
Stars: ✭ 37 (-92.64%)
Mutual labels:  board
Cutechess
Cute Chess is a graphical user interface, command-line interface and a library for playing chess.
Stars: ✭ 284 (-43.54%)
Mutual labels:  chess
Patchbay
An alternative Secure Scuttlebutt client interface that is fully compatible with Patchwork
Stars: ✭ 325 (-35.39%)
Mutual labels:  chess
Chessandcard 2dx
收集 cocos2d-x 的棋牌项目,投稿啊,投稿。
Stars: ✭ 477 (-5.17%)
Mutual labels:  chess

Chessground

Continuous Integration npm

Chessground in 2D and 3D

Chessground is a free/libre open source chess UI developed for lichess.org. It targets modern browsers, as well as mobile development using Cordova.

License

Chessground is distributed under the GPL-3.0 license (or any later version, at your option). When you use Chessground 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.

Please read more about GPL for JavaScript on greendrake.info/#nfy0.

Demos

Features

Chessground is designed to fulfill all lichess.org web and mobile apps needs, so it is pretty featureful.

  • Well typed with TypeScript
  • Fast. Uses a custom DOM diff algorithm to reduce DOM writes to the absolute minimum.
  • Small footprint: 10K gzipped (31K unzipped). No dependencies.
  • SVG drawing of circles, arrows, and custom user shapes on the board
  • Arrows snap to valid moves. Freehand arrows can be drawn by dragging the mouse off the board and back while drawing an arrow.
  • Entirely configurable and reconfigurable at any time
  • Styling with CSS only: board and pieces can be changed by simply switching a class
  • Fluid layout: board can be resized at any time
  • Support for 3D pieces and boards
  • Full mobile support (touchstart, touchmove, touchend)
  • Move pieces by click
  • Move pieces by drag & drop
    • Minimum distance before drag
    • Centralisation of the piece under the cursor
    • Piece ghost element
    • Drop off revert or trash
  • Premove by click or drag
  • Drag new pieces onto the board (editor, Crazyhouse)
  • Animation of pieces: moving and fading away
  • Display last move, check, move destinations, and premove destinations (hover effects possible)
  • Import and export positions in FEN notation
  • User callbacks
  • No chess logic inside: can be used for chess variants

Installation

npm install --save chessground

Usage

const Chessground = require('chessground').Chessground;

const config = {};
const ground = Chessground(document.body, config);

Wrappers

More? Please make a pull request to include it here.

Documentation

Development

Install build dependencies:

yarn install

To build the node module:

yarn run compile -- --watch

To build the standalone:

yarn run dist -- --watch
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].