パッケージ、リポジトリ、アプリカテゴリを検索

squares のカバー
パッケージ詳細v1.2.1

squares

Flutter用の柔軟なチェスボードウィジェット。視覚的にカスタマイズ可能で、多数のチェス変種をサポートしています。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
178
いいね数
36
Pub ポイント
140

パッケージをインストール

flutter pub add squares

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Squares は、Flutter 向けに設計された柔軟なチェスボードウィジェットで、ゲーム開発に適しており、広範なビジュアルカスタマイズとさまざまなチェスバリエーションのサポートを備えています。開発者が簡単にインタラクティブなボードを作成できるようにし、調整可能なレイアウト、駒のレンダリング、イベント処理を提供します。このパッケージは、チェスアプリ、パズルゲーム、または複数のプラットフォームで動的なボード表現が必要なあらゆるボードゲームの開発に最適です。

用途

  • チェスアプリケーションの構築
  • ボードゲームのプロトタイプを作成する
  • チェスの変種の実装
  • パズルゲームの開発
  • インタラクティブなチュートリアルの設計
  • マルチプレイヤーのボードゲームをサポート

主な機能

  • 非常にカスタマイズ可能な外観
  • チェスの変種に対する組み込みサポート
  • クロスプラットフォーム互換性
  • インタラクティブな駒の移動
  • 拡張が簡単なモジュラーデザイン
  • レスポンシブレイアウトの調整

適している対象

  • Flutter ゲーム開発者
  • 教育アプリの開発者
  • チェス変種の愛好家
  • ボードゲームに取り組むUI/UXデザイナー
  • Flutterゲームメカニクスを学ぶ初心者

注意事項

  • 完全な機能を発揮するにはチェス論理の理解が必要です
  • カスタマイズには、追加のスタイル設定の知識が必要になる場合があります
  • 大きなボードや複雑なアニメーションによるパフォーマンスへの影響
  • 限定された組み込みルールの実施
  • チェス盤ゲーム以外には最適化されていません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Squares

A flexible chessboard widget for Flutter.

Squares is a chessboard like you've never seen before. Or more accurately, it is a chessboard very much like the ones you have seen before, but one that can do a pretty wide variety of things.

It is a UI package only, meaning it doesn't handle game logic. The Bishop package is recommended for game logic, and there is also a small interoperability package, Square Bishop that provides convenience methods for common type, a state for Squares to use, and extension methods on Bishop.Game that generate it.

There are two examples: a simple one in around 100 lines, and a more complex and featureful app that demonstrates the various features of Squares in a realistic architecture.

Squares has a stateless Board widget that can used to display a complete board representation, and can be integrated at a low level with your own UI logic. However, the more likely use case involves the BoardController widget, which implements all of the piece selection and movement logic you're likely to need, including premoves and piece promotion.

Features
  • Highlighting previous moves, possible moves, check/checkmate

  • Board themes

  • Marker themes

  • Piece animations

  • Premoves

  • Supports arbitrary board sizes and pieces



  • Piece promotion

  • Flexible piece set definitions - any widget will do, use an svg, image asset, text, etc

  • Dropping pieces from hands (à la Crazyhouse)

カテゴリー

依存関係

依存関係一覧 2 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。