Giter Site home page Giter Site logo

black-jack's Introduction

設計思路

first version

客戶端主動推送

  • ready(所有玩家都按下ready遊戲就開始)
  • hit(玩家要牌)
  • stand(玩家停牌)

客戶端被動接收

  • 更新玩家資訊和牌組
  • 更新某玩家要牌、停牌資訊
  • 更新遊戲狀態
    • 準備狀態
    • 開始遊戲
    • 遊戲結束
  • 更新最終遊戲結果

代辦

20231209

後端

  • 修正玩家獲勝判斷
  • 玩家註冊和登入(簡單版 不用email)
  • 玩家斷線或者中途離場判斷
  • 多房間
    • 增加多房間功能
    • 房間滿四人就不可再進入
    • 房間不滿四人 進入後為等待玩家 可觀戰但不可遊戲 須等下一輪後才可開始
    • 創建新房間
    • 刪除房間
  • 倒數機制(每個階段都有限定時間)

前端

  • 註冊登入頁面
  • Lobby頁面 (可選擇房間)

black-jack's People

Contributors

winszhuang avatar

Watchers

 avatar

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.