seachen commited on
Commit
1acdc53
·
verified ·
1 Parent(s): 968c7dd

Playable frontend: FastAPI + canvas shop UI

Browse files
Files changed (1) hide show
  1. README.md +19 -18
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Quiet Town Corner Shop
3
  emoji: 🌷
4
  colorFrom: yellow
5
  colorTo: pink
@@ -7,39 +7,40 @@ sdk: docker
7
  app_port: 7860
8
  pinned: false
9
  license: mit
10
- short_description: Playable cozy flower-shop day-cycle sim demo
11
  tags:
12
  - game
13
  - simulation
14
  - fastapi
 
15
  - docker
16
  - portfolio
17
  ---
18
 
19
- # 小镇角落小店 · Quiet Town Corner Shop
20
 
21
- **Playable browser demo** of a cozy town flower-shop simulation.
22
 
23
- - Open the shop, restock shelves, set the light, watch customers browse and buy
24
- - Pure Python sim backend + canvas frontend
25
- - Source: [github.com/xiaoqianran/web005](https://github.com/xiaoqianran/web005)
26
- - Static gallery: [xiaoqianran.github.io/web005](https://xiaoqianran.github.io/web005/)
27
 
28
- ## Local Docker
29
 
30
  ```bash
31
  docker build -t town-corner-shop .
32
  docker run --rm -p 7860:7860 town-corner-shop
33
  ```
34
 
35
- Open http://localhost:7860/
36
 
37
- ## Stack
38
 
39
- | Layer | Path |
40
- |-------|------|
41
- | UI | `web/play/*` |
42
- | API | `game/webapi/server.py` |
43
- | Sim | `game/sim/*` |
44
- | Content | `content/**` |
45
- | Art | `assets/**` |
 
1
  ---
2
+ title: 小镇角落小店
3
  emoji: 🌷
4
  colorFrom: yellow
5
  colorTo: pink
 
7
  app_port: 7860
8
  pinned: false
9
  license: mit
10
+ short_description: 可玩花店日循环模拟 · Vue 前端
11
  tags:
12
  - game
13
  - simulation
14
  - fastapi
15
+ - vue
16
  - docker
17
  - portfolio
18
  ---
19
 
20
+ # 小镇角落小店
21
 
22
+ **可玩的浏览器花店模拟**(毕业设计作品集演示)。
23
 
24
+ - Vue 3 前端:俯视店铺、客人、灯光、进货上架、夜记
25
+ - Python 纯逻辑模拟后端(FastAPI)
26
+ - 源码:[github.com/xiaoqianran/web005](https://github.com/xiaoqianran/web005)
27
+ - 静态画廊:[xiaoqianran.github.io/web005](https://xiaoqianran.github.io/web005/)
28
 
29
+ ## 本地 Docker
30
 
31
  ```bash
32
  docker build -t town-corner-shop .
33
  docker run --rm -p 7860:7860 town-corner-shop
34
  ```
35
 
36
+ 打开 http://localhost:7860/
37
 
38
+ ## 结构
39
 
40
+ | | 路径 |
41
+ |----|------|
42
+ | 前端 | `web/play/*`(Vue 3) |
43
+ | 接口 | `game/webapi/server.py` |
44
+ | 模拟 | `game/sim/*` |
45
+ | 内容 | `content/**` |
46
+ | 美术 | `assets/**` |