An open API service indexing awesome lists of open source software.

https://github.com/shepherdwind/game


https://github.com/shepherdwind/game

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# tri-FACTa!™

一个有趣的数学卡牌游戏,通过组合数字卡片来创建数学等式。

## 开发环境设置

### 前置要求

- Node.js >= 18
- npm >= 9

### 安装依赖

```bash
npm install
```

### 开发服务器

```bash
npm run dev
```

### 构建生产版本

```bash
npm run build
```

### 运行测试

```bash
npm test
```

### 代码格式化

```bash
npm run format
```

## 项目结构

```
src/
├── components/ # 可复用组件
├── pages/ # 页面组件
├── hooks/ # 自定义 Hooks
├── utils/ # 工具函数
├── types/ # TypeScript 类型定义
├── assets/ # 静态资源
└── styles/ # 样式文件
```

## 技术栈

- React 18
- TypeScript
- Vite
- TailwindCSS
- Jest + React Testing Library

## 开发规范

- 使用 ESLint 进行代码检查
- 使用 Prettier 进行代码格式化
- 遵循 TypeScript 严格模式
- 使用 Jest 进行单元测试

## 许可证

MIT