这是一个使用Typescript编写的三国杀。
-
安装Node.js.
-
打开命令提示符,切换至server目录,并依次执行下列语句:
npm install -g typescript tslint gulp npm install
-
安装Egret Engine 5.0.14。
-
安装Visual Studio Code和Egret Wing。
-
打开命令提示符,切换至server目录,并执行下列语句:
tsc
-
再开一个命令提示符,切换至server目录,并执行下列语句:
npm run dev
-
使用Wing打开client目录,单击左上角菜单-插件-Egret项目工具-启动Egret项目