Skip to content

s103062310/ACFinalProject

Repository files navigation

ACFinalProject

Notes

  • English~ Notes and Potential will have two language~XD
  • 中文~ Notes和Potential我都會寫兩個~ 請容忍我的破英文XD
  • Here is our real-time job assign, progress rate, and detailed spec.
  • 這裡是及時的工作分配&&進度還有詳細的spec
  • About the screenshot of player who is attacked, because we still don't known how to transmit images, we use message dialog first.
  • 關於傳送被炸者截圖,因為還不知道如何傳送圖片,就先都用文字對話框代替吧
  • If you think something interesting, you can add it in the Potential region.
  • 大家想到什麼有趣的都寫在Potential裡喔XD

Potential

  • tutorial of first play
  • 初次使用的遊戲教程
  • gift system(if you complete ?, you will get ?)
  • 階段禮物系統(完成多少圖片有什麼獎勵之類的)
  • multi language system
  • 多語言系統OvO~ ((Eva來個西班牙文XDD

Collect image explanation

  • step1 download image and save it at src/resource/pic_ori
  • step2 open CreateImage.jave and run it(in tool package)
  • step3 check if there are strange images in src/resource/pic_rsc and delete original image in pic_ori
  • image's size must bigger than 800*450(better) or smaller(don't suggest)
  • it means width>800&&height>450 or width<800&&height<450

6/10 REPORT!!!!

  • Please write down DETAILED technique of your part!
  • Also write down the problems you encountered and how to solved(if solved)
  • add the website you have visited at reference part

建立I/O資料庫 Establish of I/O Database by 艾怡華(Eva)

  1. use SQL for account and answer database
  2. implement of login

網路Socket連接 Connection Between Server and Client by 范祐恩

  1. 傳送物件
  2. protocal流程

主遊戲 Main Game by 賴思頻

  1. 框框、倒數計時、state、判斷答案加錢機制
  2. 攻擊與被攻擊

商店 Market by 陳映竹

  1. 顏料、隨機、防護罩功能
  2. 價錢訂定原則(匿名性)
  3. 攻擊視窗

排行榜 Score Board by 張婷雲

  1. 玩家資訊
  2. 及時排行榜更新與顯示

5/27 Integrate

Server.java:

  1. 結合帳戶系統 by Eva
  2. 設倒數計時器,定時更新排行榜
  3. 攻擊完transmit screenshot(頻)

Client.java:

  1. 等有login系統後,server 創造一個player給client,每次登入都傳給client
  2. Fail to establish I/O channel with server! => exception confirm
  3. transmit screenshot after being attacked
  4. try transmit list directly by 頻

Timer.java:

  1. clock image! by Eva
  2. if server need => develop other type timer by Eva

Button.java:

  1. image! (( 2 type by 頻

Game.java:

  1. answerCorrect() by 頻
  2. answerWrong() by 頻
  3. gameEnd() by 頻
  4. start animate! by 竹

5/28 Integrate

Market.java

  1. 新增scrollbar by Tera
  2. ~~調成喜歡的美工~

AttackWindow.java

  1. 新增取消按鈕 by 竹
  2. 試做 scrollbar by Tera
  3. 需要一點美工設計(?
  4. 點選之後的後續連接 by Tera

MainApplet.java

  1. Attacked() by 頻
  2. beAttacked() by 頻
  3. add state by 頻

Scoreboard.java

  1. 處理同分排名(是否給黃冠) by Tera
  2. ~~調成喜歡的美工~~~ by Tera

6/2 Integrate

  1. 統合 score board & market 的顏色 by Tera
  2. 自己的所屬色價格訂低一點(匿名性) by 果
  3. 做Random商品 by 竹
  4. 做防護罩 by 竹
  5. 研究嵌入不同字體(找有明顯差異的先試試) by Eva
  6. 傳送圖片 by Tera

ScreenShot

alt tag

Server.java

  • deal with log in and create account(Eva) => open a file to record all account data (including nickname password and game state) => game state : Tera will define it~ just waite~ => the format of store file have to be designed
  • database of image name with its answer(Eva) => also open a file to record all image name and its answer => the format of store file have to be designed
  • implement answer check(Eva)
  • 與Client的溝通(果) => 主要設計整個protocal流程

Client.java(果)

  • JFrame視窗
  • 與Server的溝通
  • 接收訊息後將工作分給不同區塊

MainApplet.java

  • 1100*700
  • 組合所有子視窗

Game.java(頻)

  • 800*450
  • 顯示圖片
  • 框圖片小工具,送出答案並接收結果
  • 倒數計時
  • 接收攻擊訊息並隨機產生色塊
  • 色塊隨時間退色

Market.java(竹)

  • 800*200
  • 商品(圖片+名字+錢)
  • scrollbar
  • 按下圖片跳出攻擊視窗(把圖片做成類似按鈕效果(滑入變大什麼的))
  • 攻擊視窗: 顯示所有在線人(可攻擊列表) => 一樣是按鈕唷
  • 傳送攻擊(等protocal設計好使用)

Scoreboard.java(雲)

  • 300*650
  • 標題 + 排行榜(個人圖像+暱稱+錢+(前3名有小圖案什麼的))
  • 及時更新(等protocal設計好使用)
  • 下面是個人資訊(可以多想一點:))
  • 依資料多寡決定是否出現scrollbar(5個人時可能就沒有,10個人會超出視窗就有)

給貝果的需求小整理

  • 需求: 收 => 送
  • 對答案: Client圖片名+答案 => 結果(成功/失敗)
  • 攻擊: 攻擊者+攻擊對象+顏色 => 攻擊訊息
  • 防禦: (若被攻擊者有防護罩) 防禦成功/攻擊成功 => 回報原攻擊者
  • 排行更新: 定時boardcast排行榜

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages