Skip to content
Proyek

Tentang

A tiny game written in vue. It's inspired by IgorMinar's Memory-Game

Gim dan emulasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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 angular5 version, check it here

If you are looking for react version, check it here

vite is involved as build tool here.

Components Tree

Components break down

  1. MemoryGame, the whole game board
  2. ScoreBoard, the panel on the top, including "GameLogo", "ProgressBar", "GameScore"
  3. GameLogo, on the left of ScoreBoard, showing the game Logo
  4. ProgressBar, on the center of ScoreBoard, showing the current matching information
  5. GameScore, on the right of ScoreBoard, showing the best result
  6. ChessBoard, on the center of MemoryGame, the playing area
  7. GameCard, each card in the Chessboard
  8. GameStatus, 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

MIT License

Jelajahi proyek terkait

Memuat…