-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
#Javascript小游戏《Flappy Pig》# | ||
# Javascript小游戏《Flappy Pig》 | ||
|
||
试玩地址:[http://keenwon.com/973.html](http://keenwon.com/973.html) | ||
|
||
源码基于GruntJS构建,确保安装Node的情况下,在文件目录下运行 | ||
|
||
npm install | ||
|
||
```shell | ||
npm install | ||
``` | ||
|
||
然后运行 | ||
|
||
grunt server | ||
```shell | ||
grunt server | ||
``` | ||
|
||
运行游戏,修改相应代码会自动刷新 | ||
打包编译请运行 | ||
|
||
grunt build | ||
|
||
```shell | ||
grunt build | ||
``` |