mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2025-07-17 01:23:50 +08:00
63 lines
968 B
Markdown
63 lines
968 B
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>
|
|
|
|
> 更多信息请参考 [官网文档](https://liferestart.syaro.io/)。
|