Giter VIP home page Giter VIP logo

anonymous_question's Introduction

anonymous_question

A new Flutter project.

SSH接続

通信方法

  • ホスト

    1. サーバーに接続
    2. ホスト(押下)で、ルームのTokenとルーム名を入力して、サーバーに送信
    3. 生成した文字列とTokenをサーバーに送信
    4. サーバーから、ルームのTokenとルーム名を他端末に送信
  • ゲスト

    1. サーバーに接続
    2. ゲスト(押下)で、ルーム名一覧を取得(更新ボタンで更新か、1分で更新)
    3. ルーム名を選択して、サーバーに送信
    4. スイッチエリアに画面遷移
    5. 押下で、ルームのTokenと(ON・OFF)をサーバーに送信
    6. ホストにカウントアップ・ダウンして送信

テーブル構造

  • ルームテーブル

    name type PRIMARY KEY
    id int
    room_roken varchar
    room_name varchar
  • ルームテーブル

anonymous_question's People

Contributors

kmiki0 avatar

Watchers

 avatar

anonymous_question's Issues

サーバー側に、onOffを受け取るメソッドを追加

flutter側に送信メソッドを追加
パラメーターは、isON(bool)とRoomId(String)

サーバー側に、受信メソッドを追加
パラメーターのRoomIdと同じRoomを取得して、playerのonOffを設定する。
最後の処理で、playerに向けて送信メソッドを追加
(パラメーターのisONを送信)

Flutter側に、受信イベント(Lisnner)を追加
パラメーター(isON)で判断し、ポップアップ風なものを画面に表示し、一定時間で非表示

room-swichPlaying、Flutter側に追加

socketメソッドに、送信するメソッドを作成する。
HOST画面のフローティングボタンのイベントに、作ったものを呼ぶようにする

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.