drag_and_drop's People
drag_and_drop's Issues
対戦画面での遷移先の決定
概要
ResultActivityにて,勝敗数の管理およびそれに伴う遷移先の決定を行う.
最後の画面のレイアウトを考える
FirstPlayerActivity,SecondPlayerActivityのデザイン
Player1で5回選択できるように
概要
ゲームが始まり,右矢印を進むと,
ダイアログを出すようにする.(あなたの数字は,◯◯です.Player2に渡しますか?)
のような感じ.
それでOKを押すと,以前選択していたものはもう使えなくなり,新たに2枚選択できる画面が出てくる.
スタート画面のデザイン
Player2の作成
概要
Player1と同様の実装を行う.
対戦画面での勝敗判定
概要
対戦画面にて,合計値の比較を行い,勝敗を決定する
ResultActivityでのデザイン
スタート画面の作成
概要
アプリ起動して,最初に現れる画面.
対戦画面の作成
概要
数字が2つならんで,1秒後に両方の数字が見える仕様に.
対戦画面の作成
概要
FirstPlayerActivityでは,"player1_score"をkeyとして,sumを保存する
SecondPlayerActivityでは,"player2_score"をkeyとして,sumを保存する
ResultActivityで,両方ともをSharedPreferencesから取得して表示する.
NOTE
各プレイヤーでターン数を保存させておき,5回目に終了できるようにする
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.