李安傑
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- tags: 2021 資訊營 --- :::info 注意事項(複製前年的): 營期間希望大家有空的話可以來當 Python 課跟 challenge 的助教(不一定要全程) 雖然期末考週結束了理論上應該要開始暑假,但如果你還有作業 / project 還沒忙完的話就先忙沒關係,challenge 很自由的,不用有壓力!可以等到自己有空之後再跟上,基本上應該沒有太晚才加入會跟不上的問題。 開發的話沒意外都會在 204,就算系館施工應該也還是可以用(有冷氣)(應該) 目前營期因為 204 電腦沒有網路,所以有可能可以搞到 8*8 台筆電給小隊員們使用(每台 20000 元素質),view 組可能先開發低效能需求的遊戲顯示,最後再來開發高品質的特效供最後表演賽使用。 大家原本的分組分工(但也不一定要完全照著,可自由彈性調整):https://hackmd.io/Kkn-3e6uQOCtO3n8IFdkOA ::: # 2021 NTU CSIE Challenge - Coding Master Reference: [去年的資料](https://hackmd.io/@HH54wAcPSMKu3sBWfWcDbQ/SkTXpnPTI#Items) Source code: [EricTsengTy/Challenge2021](https://github.com/EricTsengTy/Challenge2021) ## Introduction ## Rules - 玩家為四個抱著筆電移動的小人。 - 場地會隨機生成道具,玩家碰到道具就會直接獲得道具。 - 玩家可以用普通攻擊(近距離用電腦砸人)或特殊攻擊(寫code發出魔法,需要蓄能)來向對手製造傷害,獲得分數。 - 特殊攻擊有預設火球術,以及撿到攻擊類道具時可以使用的特殊攻擊。 - 如果撿到攻擊類道具,特殊攻擊的能量會立刻蓄滿;並且發動特攻時,就會自動使用該道具攻擊。(攻擊類道具都只能使用一次) - 遊戲結束時,分數最高者為贏家。 ## 一些數字的設定 血量跟傷害: - 玩家初始血量:1000 - 普通攻擊傷害:10 - 特殊攻擊傷害:30 p.s 除了 "DOS" 跟 "DDOS",其他攻擊類道具都只會改範圍或有附加效果,不會影響傷害。 得分計算: - 攻擊造成的分數:+造成傷害*1 - 使用道具 hello world:+300 - 尾刀:+500 - 沒有死過:+1000 ## Control 要有五個鍵,但不知道應該怎麼排(看上次的也是五個鍵,可能可以跟上次一樣) - 左(水平移動) - 右(水平移動) - 上(往上跳) - 下(攻擊) - shift(特殊攻擊) :::info 去年長這樣: | P1 | P2 | P3 | P4 | Function | |:---:|:---:|:---:|:---:| -------------------- | | A D | F H | J L | ← → | 水平移動 | | W | T | I | ↑ | 往上跳 | | S | G | K | ↓ | 攻擊 | | Q | R | U | Shift | 特殊攻擊 | ![](https://i.imgur.com/mDIWcS5.png) ::: ## Stages 想要在 電腦視窗背景。(可能桌面?或某個頁面?) 或者是 像素風格的背景。(ex. 超級馬力歐那種) ## Items 圖片先用描述的 每個攻擊的攻擊力還沒想好QQ 先隨便訂好了 | Figure | Name | Description | Effect | | -------------------------------------------- | --------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | | **攻擊類** | -------- | ----------- | -------- | | Q版電腦風扇 | 風扇 | 幫筆電裝新的風扇,咻咻咻!阿!阿! | 從火球變成比較寬的龍捲風。 | | 閃電 | 好電! | 拜一下電神,獲得電能! | 從火球術變成朝八個方向發射閃電。 | | 白色的杯子裡面有咖啡色的液體 | 咖啡 | 甩出一杯打翻的咖啡(想要做成拋物線的軌跡,讓別人的筆電壞掉。 | 對敵人造成傷害並使之5秒無法特攻。 | | 一隻蟲的icon(有點像VScode畫的那樣) | BUG | 丟出臭蟲,讓別人的code壞掉。 | 對敵人造成傷害並使之10秒無法特攻。 | | 滑鼠箭頭 | DOS | 狂戳人家的筆電,把他癱瘓 | 向隨機的敵人直直射出10個箭頭(每個傷害3)攻擊,被射中會當掉(移動減速)。 | | 滑鼠箭頭很多個 | DDOS | 分散式狂戳人家的筆電 | 從5個方向,向隨機的敵人射出4個箭頭(每個傷害2),被射中會當掉(移動減速)。 | | **狀態類** | -------- | ----------- | -------- | | 執行檔 | hello_world.exe | printf("hello, world!"); | 畫面會有一排彈幕刷一排 "Hi"、"你好~" 過去,干擾視覺。(發動的人會有額外加分) | | USB旁邊畫一個小骷顱頭或三角形驚嘆號 | 加料USB | 電教有一個USB欸!那來插插看。 | 筆電中毒,只能使用普通攻擊30秒。攻擊力上升,被自己普通攻擊擊中的敵人也會中毒,只能普攻(撿到攻擊道具也不能用),且有感染力10秒。 | | 磚牆旁邊畫個盾牌(或盾牌裡面畫牆) | 防火牆 | 這個防火牆可以防水。 | 擋掉所有特殊攻擊、並免疫病毒10秒。 | | 顯卡的icon(不知道怎麼形容QQ) | 顯卡 | 花錢消災,更新電腦設備,摸豆海壓哭! | 特攻蓄能加速兩倍,30秒。 | | 畫一個重來的箭頭 | 格式化 | 一切重來...... | 解除所有狀態。 | | 就資料夾 | 資料夾 | 進去看看...... | 會被吸進去1秒,可以躲攻擊,但在裡面不能幹嘛。出來後有0.5秒的隱身,避免被埋伏。 | | **回血** | -------- | ----------- | | 強調插頭的地方(可以畫個豆腐頭)線可以繞在旁邊 | 充電線| 快沒電ㄌ......還好有充電器!| 回血,血量+100。(血量不能超過1000)| ## Function APIs ## Background Music and Sound Effects ## Timetable for every group ### Controller - [x] 把 User input (user 按按鍵) 轉成 Event 送給 EventManager ### Model [Model 組開發筆記](https://hackmd.io/@brianlii/S1Peubw3O) ### View [View 組Code筆記](https://hackmd.io/@alex-0-0-10/HysbYgA2_/edit) [View 組畫圖筆記](https://hackmd.io/@Leyna/rJRZUc23u/edit) 要view的東西: #### 應該會是靜態圖片的部分(頂多gif(?)): - 遊戲選單(?) //我的想像裡有 但我不知道實際上有沒有這個需求 - 會有一頁一頁的規則介紹、道具介紹 //我的想像裡有 - 腳色本身: 會是一個白色(?)小人單手捧著筆電,另外一隻手打字、然後奔跑的姿勢。 要放血條、要有一個續能的能量條(特攻 還在考慮,可以給他們不同顏色 - 道具的icon: - 道具表格裏的那些,我盡量把我想像的樣子敘述在圖片那欄,如果負責的人沒有什麼想法可以朝那個樣子下手 (如果有自己的想法了,不一定要管我寫ㄉ沒關係XD) - 不在表格裡的:資料夾已經有人的時候應該顯示不一樣的樣子。 - 狀態的icon: 附在血條旁邊,表示這角色目前有什麼附加狀態。 - 無法使用特攻:一個禁止符號裡面畫一台筆電。 - 筆電中毒:綠色筆電 - 筆電有感染力(因為跟中毒不是同時的可能要分開):綠色骷髏頭。 - 防火牆:紅色磚牆。 // 其他我覺得不用特別在血條旁邊有icon的(因為很短暫就直接用特效做在角色身上): // 特效那邊會再寫一次 - 被DOS的箭頭戳到的 延遲:角色移動有殘影。 - 角色待在資料夾裡:一個小資料夾的圖案。 - 從資料夾出來,或死掉剛復活的短暫隱身:角色半透明。 - 遊戲場地背景 #### 特效(可能會需要寫code幫忙ㄌ): - 腳色移動(可能跟畫腳色的一起):左右移動,跳躍、落下。 - 普通攻擊:迅速把筆電合起來,雙手上而下向前揮擊。 - 特殊攻擊們: - 火球術: 角色敲擊鍵盤的速度變快,筆電變紅,然後射出一顆火球(營造筆電過熱的感覺) - 風扇:角色敲擊鍵盤的速度變快,筆電發綠光,然後噴出一個龍捲風(比火球寬(到底多寬可能要看model?)) - 閃電:角色敲擊鍵盤的速度變快,筆電發黃光(筆電上面可以放一點小雷電),朝八個方向射出閃電 - 咖啡:腳色從筆電裡抓出一杯咖啡,丟出去,杯子會拋物線掉落、咖啡做成灑出來然後淡出(砸中可以爆開((? - 臭蟲:腳色從筆電裡抓出一隻BUG,丟出去,BUG會拋物線掉落、過程中選轉(砸中可以爆開((? - 滑鼠箭頭:角色敲擊鍵盤的速度變快,前方產生一個箭頭(可以搭配一些發光特效?、其實是10個疊在一起),然後慢慢的指向他要攻擊的那個敵人,接著10個依序直直的射出(每一個可以比前一個晚0.01秒射出) - 滑鼠箭頭:角色敲擊鍵盤的速度變快,被針對的敵人面前產生五個箭頭(還沒射出前跟著移動,20個箭頭五個位置各4個),然後慢慢的指向他要攻擊的那個敵人,接著4個依序直直的射出(每一個可以比前一個晚0.01秒射出) - 狀態類特效(一般來說會在角色身上): A. 會持續一段時間的(10秒以上): - 筆電中毒:驚嘆號,續能條鎖定。(角色打code的那隻手臂上擺、亂揮,看起來很慌亂) - 防火牆:吃到之後角色外面有一個簡單的藍色半透明泡泡就好ㄌ。 - 顯卡:腳色的電腦發聖光(就...對....跟發動攻擊的區別一下)。 B. 瞬間的(不超過0.5秒): - 進資料夾:角色縮小然後躲進去。 - 吃到攻擊或是道具,看要不要讓角色發光之類的,比較好判斷有沒有吃到、誰吃到了。 - 格式化:產生一個藍色煙霧,然後消散。 - 回血:綠色光,光源在底下。 - 被DOS的箭頭戳到的 延遲:角色移動有殘影。 - 從資料夾出來,或死掉剛復活的短暫隱身:角色半透明。 - 場地特效: - "hello,world!":想要做三個版本,然後吃到該道具的時候隨機產生一個。 1. 刷出一排彈幕(可以用多國語言打招呼;不知道直接做成背景透明的長圖片、跟全部用寫文字的方式那一個對畫面loading比較小)。 2. 整個畫面有點 故障特效的風格,中間閃現一個巨大的 hello,world。 3. 所有角色跳出小小對話框框(想要裡面有表情符號),彼此問好。 (有點像是 1.觀眾打招呼、2.遊戲本身打招呼、3.玩家打招呼 的感覺) ## Reference

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully