docs(readme): 更新 README 文档以支持 Go 语言环境

- 在 README 中添加 Go 语言版本徽章
- 更新依赖环境列表,新增 Go 1.21+ 的安装要求
- 补充多平台二进制可执行文件下载链接
- 说明使用 Golang 构建跨平台兼容程序的功能
- 添加 Windows、Linux 和 MacOS 平台的最新构建版本下载地址
- 修改构建工具描述,加入对 Golang 支持的说明
- 调整文档结构以便更好地展示项目技术栈和快速启动指南
This commit is contained in:
coolxitech
2025-12-14 12:06:20 +08:00
parent 24efe3da2d
commit 95b4f23268
2 changed files with 17 additions and 1 deletions

View File

@@ -9,6 +9,8 @@
[![Vue 3](https://img.shields.io/badge/Vue-3.5-brightgreen.svg)](https://vuejs.org/)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.9-blue.svg)](https://www.typescriptlang.org/)
[![Vite](https://img.shields.io/badge/Vite-7.2-646CFF.svg)](https://vitejs.dev/)
[![Go](https://img.shields.io/badge/Go-1.25-79D4FD.svg)](https://golang.org/)
[简体中文](README.md) | English
</div>
@@ -36,7 +38,7 @@ OGame Vue TS is a single-player, browser-based space strategy game inspired by t
- **Frontend Framework:** [Vue 3](https://vuejs.org/) with Composition API (`<script setup>`)
- **Language:** [TypeScript](https://www.typescriptlang.org/) with strict type checking
- **Build Tool:** [Vite](https://vitejs.dev/) (Custom Rolldown-Vite 7.2.5)
- **Build Tool:** [Vite](https://vitejs.dev/) (Custom Rolldown-Vite 7.2.5)、[Golang](https://golang.org/)(Building multi-platform compatible binary executables)
- **State Management:** [Pinia](https://pinia.vuejs.org/) with persisted state plugin
- **Routing:** [Vue Router 4](https://router.vuejs.org/)
- **UI Components:** [shadcn-vue](https://www.shadcn-vue.com/) (New York style)
@@ -47,10 +49,22 @@ OGame Vue TS is a single-player, browser-based space strategy game inspired by t
## Quick Start
### Download Build Version
[Windows](https://github.com/coolxitech/ogame-vue-ts/releases/latest/download/ogame-windows-amd64.exe)
[Linux amd64](https://github.com/coolxitech/ogame-vue-ts/releases/latest/download/ogame-linux-amd64)
[Linux arm64](https://github.com/coolxitech/ogame-vue-ts/releases/latest/download/ogame-linux-arm64)
[MacOS Intel](https://github.com/coolxitech/ogame-vue-ts/releases/latest/download/ogame-macos-amd64)
[MacOS](https://github.com/coolxitech/ogame-vue-ts/releases/latest/download/ogame-macos-arm64)
### Prerequisites
- [Node.js](https://nodejs.org/) (version 18 or higher recommended)
- [pnpm](https://pnpm.io/) (version 10.13.1 or higher)
- [Go](https://golang.org/) (version 1.21 or higher recommended) (optional for binary builds)
### Installation

View File

@@ -9,6 +9,7 @@
[![Vue 3](https://img.shields.io/badge/Vue-3.5-brightgreen.svg)](https://vuejs.org/)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.9-blue.svg)](https://www.typescriptlang.org/)
[![Vite](https://img.shields.io/badge/Vite-7.2-646CFF.svg)](https://vitejs.dev/)
[![Go](https://img.shields.io/badge/Go-1.25-79D4FD.svg)](https://golang.org/)
[English](README-EN.md) | 简体中文
@@ -63,6 +64,7 @@ OGame Vue TS 是一款受经典 OGame 游戏启发的单机版、基于浏览器
- [Node.js](https://nodejs.org/) (推荐 18 或更高版本)
- [pnpm](https://pnpm.io/) (版本 10.13.1 或更高)
- [Go](https://golang.org/) (版本 1.21 或更高版本)(可选)
### 安装