1466094598lilye-byte/witch-game
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
女巫游戏 - 构建成品 ==================== 这是一个完整的游戏构建版本,可以直接部署或本地运行。 文件结构: - index.html: 游戏入口文件 - assets/: 编译后的JavaScript和CSS文件 - images/: 游戏图片资源 - sounds/: 游戏音效和BGM 使用方法: ---------- 1. 本地运行: - 使用任何HTTP服务器打开index.html - 推荐使用:python -m http.server 8000 - 然后在浏览器访问 http://localhost:8000 2. 部署到服务器: - 将整个文件夹上传到Web服务器 - 确保服务器支持SPA路由(单页应用) - 访问服务器地址即可 3. 使用VS Code Live Server: - 在VS Code中打开此文件夹 - 右键点击index.html - 选择"Open with Live Server" 注意事项: ---------- - 所有资源路径都是相对路径,确保保持文件夹结构完整 - 游戏支持中英文切换 - 需要现代浏览器支持(Chrome、Firefox、Safari、Edge等) 构建时间:2024年12月19日