Code Monkey home page Code Monkey logo

animalshogi's Introduction

animal_shogi_flutter

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

animalshogi's People

Contributors

yukimaitani avatar

Watchers

 avatar

animalshogi's Issues

sealedクラスのgetterの書き方を修正

(this as BoardPieceMove)の部分をもう少しできないものか。クラス外のメソッドの中だとasをつけなくてもいいのだけど。

extension MoveExtension on Move {
  String get toKif => switch (this) {
        BoardPieceMove() =>
          '${to.position.toKif}${piece.pieceType.toName}${(this as BoardPieceMove).isPromotion ? '成' : ''}(${(this as BoardPieceMove).from.position.toKif})',
        CapturedPieceMove() => '${to.position.toKif}${piece.pieceType.toName}打'
      };
}

TODO

  • データの変更がないクラスはenumにする
  • 最初から対局ボタン
  • 待ったボタン
  • 投了ボタン
  • 対局終了したら、勝利演出。タップすると消える
  • 勝利演出消えたると棋譜再生ボタンとアクションシートが表示されるボタンを表示
  • 駒を動かす度にどうぶつの鳴き声
  • 駒台に乗るとviewが上下にズレるバグ
  • マスの枠線と駒の進む方向をCustomPaintで表示(画像でも綺麗に表示されそうなら構わない)
  • 持ち駒をもう少し大きく表示する

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.