openfootmanager/openfootmanager

GitHub: openfootmanager/openfootmanager

一款基于 Rust 和 Tauri 构建的开源足球经理人模拟游戏,提供球队管理、转会、训练和比赛模拟等完整经营体验。

Stars: 996 | Forks: 150

![Openfoot logo](https://static.pigsec.cn/wp-content/uploads/repos/cas/d0/d03860738c9aab9f7220288a7e6351b5ddd9876cf3708e0c8e119a61a1b15ecc.svg) [![License: GPL v3](https://img.shields.io/github/license/openfootmanager/openfootmanager )](https://www.gnu.org/licenses/gpl-3.0) [![Rust](https://shields.io/badge/-Rust-FF4500?style=flat&logo=rust)](https://www.rust-lang.org/) [![Tauri](https://shields.io/badge/-Tauri-2E8B57?style=flat&logo=tauri)](https://tauri.app/) [![React](https://shields.io/badge/-React-1434A4?style=flat&logo=react)](https://react.dev/) [![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/openfootmanager/openfootmanager?utm_source=oss&utm_medium=github&utm_campaign=openfootmanager%2Fopenfootmanager&labelColor=171717&color=FF570A&label=CodeRabbit+Reviews)](https://coderabbit.ai) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/openfootmanager/openfootmanager/graphs/commit-activity) [![Last commit](https://img.shields.io/github/last-commit/openfootmanager/openfootmanager)](https://github.com/openfootmanager/openfootmanager/commits/develop) **一款免费且开源的足球经营模拟游戏**
**Openfoot Manager** 是一款免费且开源的足球经理人游戏,基于 [GPLv3](LICENSE.md) 许可证授权,其灵感来源于著名的《Football Manager™》系列。 ## 功能 - **基于文本的比赛模拟**,包含事件驱动的解说和比分进展。 - **全面的球队管理**,涵盖角色分配、阵容深度规划和球员发展决策。 - **转会与合同工作流**,用于购买、出售和谈判球员转会事宜。 - **训练与员工系统**,通过指导和计划来提升表现。 - **动态收件箱和新闻生成**,让您随时掌握俱乐部和世界事件的最新动态。 - **球探支持**,用于发掘人才和评估未来的签约球员。 - **持久化游戏数据**,由 SQLite 为本地存档和进度提供支持。 - **现代桌面应用体验**,采用 Tauri + React 构建,运行速度快且开销低。 - **多语言支持**,拥有 i18n 基础架构并不断扩展社区翻译。 - **免费且开源**,基于 GPLv3 许可证,由社区驱动开发。 ## 截图 点击任意图片查看完整尺寸版本。 收件箱界面 新闻界面 管理球队界面 比赛直播界面 训练界面 球员谈话界面 新闻发布会界面 ## 架构 OpenFootManager 采用现代 Web 技术构建: - **Rust**:用于比赛模拟引擎和游戏状态的极速后端。 - **Tauri**:轻量级桌面应用程序外壳。 - **React + TypeScript + TailwindCSS**:高度响应的前端界面。 - **SQLite**:用于游戏存档的本地持久化。 ## 安装与开发 该游戏目前仍处于早期积极开发阶段。要构建并运行 debug 版本,您需要安装 Rust、Node 和 Tauri 开发的标准工具: 1. 安装 **Rust**(通过 `rustup`) 2. 安装 **Node.js**(v18+) 3. 根据您的特定操作系统安装 Tauri 依赖(请参阅 [Tauri 前置条件指南](https://v2.tauri.app/start/prerequisites/)) 克隆仓库并安装依赖项: ``` git clone https://github.com/openfootmanager/openfootmanager.git cd openfootmanager npm install ``` 运行开发版桌面应用: ``` npm run tauri dev ``` ## 许可证 ``` Openfoot Manager - A free and open source soccer management game Copyright (C) 2020-2026 Pedrenrique G. Guimarães This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . ``` 查看 [LICENSE](LICENSE.md) 了解更多信息。
标签:React, Rust, SQLite, Syscalls, Tauri, 体育模拟, 可视化界面, 游戏, 网络流量审计, 足球经理, 通知系统