项目
在 GitHub 查看
leftstick/vue-memory-game
关于
A tiny game written in vue. It's inspired by IgorMinar's Memory-Game
游戏与模拟器实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文vue-memory-game
A tiny game written in vue3. It's inspired by IgorMinar's Memory-Game. You can view the online demo here.
If you are looking for
angular5version, check it here
If you are looking for
reactversion, check it here
vite is involved as build tool here.
Components Tree

Components break down
MemoryGame, the whole game boardScoreBoard, the panel on the top, including "GameLogo", "ProgressBar", "GameScore"GameLogo, on the left ofScoreBoard, showing the game LogoProgressBar, on the center ofScoreBoard, showing the current matching informationGameScore, on the right ofScoreBoard, showing the best resultChessBoard, on the center ofMemoryGame, the playing areaGameCard, each card in theChessboardGameStatus, the footer part, displaying current status of game
File Structure
vue-memory-game
├── src
| ├── assets
| | ├── 8-ball.png
| | ├── ...
| | └── zeppelin.png
│ │
│ ├── components
│ │ ├── ChessBoard
│ │ │ ├── GameCard.vue
│ │ │ └── index.vue
│ │ ├── ScoreBoard
│ │ │ ├── index.vue
│ │ │ ├── GameLogo.vue
│ │ │ ├── ProgressBar.vue
│ │ │ └── GameScore.vue
│ │ ├── GameStatus.vue
│ │ └── index.vue
│ │
│ ├── stores
│ │ ├── CountTimer.ts
│ │ ├── GameStore.ts
│ │ └── index.ts
│ │
│ ├── MemoryGame.vue
│ ├── constants.ts
│ ├── IType.ts
│ └── main.ts
│
├── index.html
├── env.d.ts
├── package.json
├── tsconfig.config.json
├── tsconfig.json
└── vite.config.ts
Detail Explanation?
Want Having a try locally?
Running Environment
Recommended Editor
#cloning code
git clone https://github.com/leftstick/vue-memory-game.git
cd vue-memory-game
#install dependencies
yarn
#start debug server
yarn start
Now, view the demo at http://localhost:3000/vue-memory-game/
LICENSE
探索相关项目
加载中…