# poison-grid-game **Repository Path**: dinghaijun/poison-grid-game ## Basic Information - **Project Name**: poison-grid-game - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-09 - **Last Updated**: 2025-06-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # poison-grid-game 毒药宫格游戏服务器 日志文件名格式示例: ```bash LOG_FILE="$LOG_DIR/20240615123045.123.log" # 示例:带毫秒的日志文件名(YYYYMMDDHHMMSS.mmm) ``` ## 初始化项目 ```bash # 创建必要目录 mkdir -p bin run logs # 添加执行权限 chmod +x bin/*.sh ``` ## 初始化数据目录 ```bash # 创建数据存储目录(Windows) if not exist data mkdir data # 创建数据存储目录(Linux/macOS) mkdir -p data ``` ## 安装启动脚本 ```bash # 将脚本安装到全局目录(推荐) sudo cp start.sh /usr/local/bin/poison-grid-start sudo chmod +x /usr/local/bin/poison-grid-start # 或安装到用户目录(无需 sudo) cp start.sh ~/.local/bin/poison-grid-start chmod +x ~/.local/bin/poison-grid-start ``` ## 使用说明 ```bash # 直接运行(需在项目目录执行) ./start.sh # 全局运行(任意目录) poison-grid-start ``` ## 启动服务 ```bash # 方式一:直接运行(推荐) ./bin/start.sh # 方式二:全局安装 sudo cp bin/start.sh /usr/local/bin/poison-grid-start sudo chmod +x /usr/local/bin/poison-grid-start ``` ## 停止服务 ```bash # 方式一:直接运行(推荐) ./bin/stop.sh # 方式二:全局安装 sudo cp bin/stop.sh /usr/local/bin/poison-grid-stop sudo chmod +x /usr/local/bin/poison-grid-stop ```