Skip to content

Commit

Permalink
docs(update url): update link url
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Oct 25, 2018
1 parent afb2174 commit 85a1ea1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ English | [简体中文](./README.zh-CN.md)
## Demo
<p align="center"><img src="http://obdhoyfg4.bkt.clouddn.com/tower-preview.gif"/></p>
<h2 align="center"><a href="http://fe.bmqb.com/tower_game/demo.html?v=1">Link to online Demo (Demo Link)</a></h2>
<h2 align="center"><a href="https://iamkun.github.io/tower_game">Link to online Demo (Demo Link)</a></h2>
<h4 align="center">Mobile Devices can scan following QR code:</h4>
<p align="center">
<img src="https://o2qq673j2.qnssl.com/tower-game-qr-code.png" />
<img src="https://user-images.githubusercontent.com/17680888/47480646-abc55b80-d863-11e8-9337-4ea768ebe55d.png" />
</p>

## Game Rule

The following are the default game rule:

- In every game player starts with 3 hp. Every time a Tower block is dropped player is deduct 1 hp; game ends when hp is depleted.
- In every game player starts with 3 hp. Every time a Tower block is dropped player is deduct 1 hp; game ends when hp is depleted.

- Player is rewarded with 25 point for every succesful stacked blocks(Success). If a block is stacked pefectly (Perfect) on top of the previous one, then player
rewarded with 50 points instead. Consecutive Perfects awards additional 25 points.
Expand All @@ -36,17 +36,17 @@ rewarded with 50 points instead. Consecutive Perfects awards additional 25 point
## Customizing the game rule

```
git clone https://github.com/bmqb/tower_game.git
git clone https://github.com/iamkun/tower_game.git
cd tower_game
npm install
npm start
```
Open `http://localhost:8082` in a web browser.

- To customize image and sound resource files directly replace the corresponding file under `assets` directory.
- To customize image and sound resource files directly replace the corresponding file under `assets` directory.
- To customize game rules modify the `option` object in `index.html`.

## Option
## Option

Use following table of `option` constants to complete customization of game rules.

Expand Down
12 changes: 3 additions & 9 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
## Demo 预览
<p align="center"><img src="http://obdhoyfg4.bkt.clouddn.com/tower-preview.gif"/></p>
<h2 align="center"><a href="http://fe.bmqb.com/tower_game/demo.html?v=1">在线预览地址 (Demo Link)</a></h2>
<h2 align="center"><a href="https://iamkun.github.io/tower_game">在线预览地址 (Demo Link)</a></h2>
<h4 align="center">手机设备可以扫描下方二维码</h4>
<p align="center">
<img src="https://o2qq673j2.qnssl.com/tower-game-qr-code.png" />
<img src="https://user-images.githubusercontent.com/17680888/47480646-abc55b80-d863-11e8-9337-4ea768ebe55d.png" />
</p>

## Game Rule 游戏规则
Expand All @@ -34,7 +34,7 @@
## Customise 自定义

```
git clone https://github.com/bmqb/tower_game.git
git clone https://github.com/iamkun/tower_game.git
cd tower_game
npm install
npm start
Expand Down Expand Up @@ -117,12 +117,6 @@ function(failedCount) {
}
```

## Join us

<img src="https://ofw30mjf6.qnssl.com/images/logo-with-R.9c82.png" width="300" height="96"/>

[加入我们](https://www.bmqb.com/a/jobs)

## License

MIT license.

0 comments on commit 85a1ea1

Please sign in to comment.