submarine-war-visualizer's People
submarine-war-visualizer's Issues
攻撃を受けた際の反応(命中/波高し/はずれ)のアニメーションをそれぞれ変える
どうしよう
初期配置入力シーンの実装
移動情報入力時のセルのハイライトの実装
移動する潜水艦の選択時
- そのターンのチームの潜水艦のいるマスを薄緑色でハイライト
- マウスポインタは
pointer
- マウスポインタは
- それ以外のマスはハイライトなし
- マウスポインタは
not-allowed
- マウスポインタは
- そのターンのチームでない潜水艦は半透明
潜水艦の移動先マスの選択時
- 移動可能なマスのみ薄緑色でハイライト
- マウスポインタは
pointer
- マウスポインタは
- それ以外のマスはハイライトなし
- マウスポインタは
not-allowed
- マウスポインタは
攻撃情報・移動情報入力時のガイドメッセージ表示
Animation と Transition の分離
どちらのターンであるかを文字だけでなく他の視覚情報で直感的に判断できるようにする
どちらのターンであるのかが文字だけでなく,ターンをもっている側の潜水艦を目立たせたり,
盤面の色がターン毎にかわるなど直感的に判断できるようにできないか.
Attack 情報入力時のセルのハイライトの実装
Attack 先のマス選択時
- そのターンのチームが攻撃可能なマス全てを薄緑色にハイライト
- マウスポインタは
pointer
- マウスポインタは
- それ以外のマスは変化なし
- マウスポインタは
not-allowed
- マウスポインタは
セルに対するマウスイベントの捕捉
Battle Scene で必要なボタンの追加
グリッド下部に左右**揃えで表示
- Attack ボタン
- Move ボタン
スクリーン左上
- 戻る ボタン
スクリーン右下
- Apply ボタン
潜水艦移動のアニメーション実装
マウスカーソルの形が 'pointer' になってくれないことがある
対戦の履歴データを文字として画面上に表示(スクロール)する
セルの描画
対戦終了判定の実装
配置可能な潜水艦の数が最初から5隻以上にならないようにする
攻撃のアニメーション実装
Battle Scene での初期配置の表示
初期配置シーンから受け継いだ初期配置情報をグリッド描画
初期配置入力シーンで初手・後手の入力をできるようにする
セル内に潜水艦を描画する
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.