Update README.md
This commit is contained in:
parent
faca78a16e
commit
eaf3900df5
40
README.md
40
README.md
@ -1,5 +1,18 @@
|
||||
# python-card-web
|
||||
Web version of **[t510599/python-card](https://github.com/t510599/python-card)**
|
||||
# 災厄之悲歌
|
||||
Web version of **[t510599/python-card](https://github.com/t510599/python-card)**
|
||||
Let's play! [https://app.stoneapp.tech/ElegyOfDisaster](https://app.stoneapp.tech/ElegyOfDisaster)
|
||||
|
||||
## Special thanks
|
||||
王禮恩(圭月) : 遊戲設計
|
||||
[Jerry Wu](https://github.com/a91082900) : server development
|
||||
|
||||
## Overview
|
||||
|
||||
由兩個玩家進行一場卡牌遊戲對戰。 每一個玩家在遊戲開始時會有:
|
||||
* 20點生命
|
||||
* 115張卡牌組成的牌庫
|
||||
* 三張初始手牌
|
||||
由系統隨機設定一名玩家先攻並進行回合制, 當玩家生命歸零,則該玩家敗北,另一玩家勝利。
|
||||
|
||||
## Cards
|
||||
|
||||
@ -13,7 +26,7 @@ Web version of **[t510599/python-card](https://github.com/t510599/python-card)**
|
||||
| 3 | 治癒 | 回復兩點生命 | |
|
||||
| 4 | 補給 | 抽取兩張手牌 | |
|
||||
| 5 | 強奪 | 從敵方手牌中選擇一張加入自己的手牌 | |
|
||||
| 6 | 奇襲 | 對敵方造成兩點傷害,並使其隨機損失一張手牌 | 攻擊類卡片 |
|
||||
| 6 | 奇襲 | 對敵方造成一點傷害,並使其隨機損失一張手牌 | 攻擊類卡片 |
|
||||
| 7 | 交易 | 選取一張手牌與敵方交換 | |
|
||||
| 8 | 洞悉 | 抵擋攻擊類卡片,並抽取一張手牌、抵擋強奪的效果 / 抽取三張手牌 | 防禦類卡片 |
|
||||
| 9 | 妙策 | 從牌庫中隨機挑出三張卡片,選擇一張加入手牌 | |
|
||||
@ -24,3 +37,24 @@ Web version of **[t510599/python-card](https://github.com/t510599/python-card)**
|
||||
| 14 | 反制 | 抵擋攻擊類卡片,並反彈其傷害和效果 / 使敵方生命減半 | 防禦類卡片 |
|
||||
| 15 | 狂亂 | 回復三點生命,並對敵方造成三點傷害 | |
|
||||
| 16 | 逆轉 | 使自己與敵方的生命交換 | <br> |
|
||||
|
||||
|
||||
## Libraries
|
||||
Web:
|
||||
1. TocasUI [https://tocas-ui.com](https://tocas-ui.com)
|
||||
2. jQuery
|
||||
|
||||
Server:
|
||||
1. websockets
|
||||
|
||||
## Requirement
|
||||
1. Python 3.6 or higher
|
||||
2. `websockets` installed
|
||||
|
||||
## To start
|
||||
```bash
|
||||
git clone https://github.com/t510599/python-card-web
|
||||
cd python-card-web
|
||||
pip install websockets
|
||||
python pyws.py
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user