Giter VIP home page Giter VIP logo

dron's People

Contributors

hanasuke avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

hnjm

dron's Issues

開始時の挙動の実装

起動画面は、難易度を表示させる。
難易度選択後、スペースキー押下でゲームの開始を行う。
難易度選択は矢印キーを利用する。
ゲームオーバー後も同様の挙動が行えるようにする。

バーの長さの指定

初期状態で、残ったままにしてあるバーの軌跡を、指定された長さを残して消えるようにする。
とりあえず、長さはySizeの半分(=40)とする。

スコア機能の追加

1P、2Pそれぞれ別にスコアを保存し、ゲーム終了時に比較する。
ゲーム中にもスコアは表示し、スコアが更新されると、適宜表示も更新される。

勝敗数の表示

1P、2Pの勝数をそれぞれ計測し、画面内に表示する。
ゲーム終了時に更新を行う。

アイテム機能の実装

ボード上に、ランダムにアイテムを出現させる
アイテムの大きさは1*1で
アイテムをとると、とったプレイヤのスコアにポイントを加算

ゲーム表示ページの作成

アプレットを表示するページを作成する。
掲載するものは、

  • アプレット
  • ゲームの操作方法
    • 1P側
    • 2P側
  • 設定の操作方法(一例)
    • 音のOn/Off
    • 難易度の設定
    • リセット/リスタート/一時停止
  • 素材の提供元

である。
編集先は、dron.htmlである

ゲーム領域の横を拡張

今の状態だとゲームの領域が狭いので、拡張する。
縦方向は現状のままで。
横方向を2倍-3倍くらい。

時間計測機能の追加

ゲームのプレイ時間を設定し、カウントダウンを行う。
残り時間が0秒になった時、ゲームは終了となる。
残り時間は、常にゲーム画面に表示する。

アイテムの機能を作成

アイテム機能をつくる。
得点{+, -}、移動速度{+, -}などの機能を作る。
出現頻度、場所は乱数で指定する。

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.