mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-02-04 14:53:12 +08:00
73 lines
1.1 KiB
Markdown
73 lines
1.1 KiB
Markdown
# Life Restart
|
||
|
||
<a href="https://discord.gg/U3qrf49NMQ"><img src="https://img.shields.io/discord/883382868427014255?color=%23FEE75C&label=Discord&logo=discord&logoColor=white&style=for-the-badge" /></a>
|
||
|
||
[English](./README.md) | 简体中文
|
||
|
||
## 简介
|
||
|
||
- Game Life Restart
|
||
|
||
## 使用
|
||
|
||
<details>
|
||
<summary><strong>网页版</strong></summary>
|
||
<br />
|
||
|
||
1. 下载项目代码。
|
||
|
||
```bash
|
||
git clone https://github.com/VickScarlet/lifeRestart.git my-project
|
||
cd my-project
|
||
```
|
||
|
||
2. 进入目录安装依赖。
|
||
|
||
```bash
|
||
yarn install
|
||
```
|
||
|
||
或者
|
||
|
||
```bash
|
||
npm install
|
||
```
|
||
|
||
3. 启动本地服务器。
|
||
|
||
```bash
|
||
yarn dev
|
||
```
|
||
|
||
或者
|
||
|
||
```bash
|
||
npm run dev
|
||
```
|
||
|
||
4. 启动完成后会自动打开浏览器访问 [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html)。
|
||
|
||
</details>
|
||
|
||
<details>
|
||
<summary><strong>控制台版本</strong></summary>
|
||
<br />
|
||
|
||
```bash
|
||
node repl
|
||
```
|
||
|
||
</details>
|
||
|
||
## 其他版本
|
||
|
||
<details>
|
||
<summary><strong>版本列表</strong></summary>
|
||
<br />
|
||
|
||
- Cocos版:[gameall3d/LifeRestart_Cocos](https://github.com/gameall3d/LifeRestart_Cocos)
|
||
|
||
</details>
|
||
|
||
> 更多信息请参考 [官网文档](https://liferestart.syaro.io/)。
|