Alphabet learning game for preschoolers. Common objects with letters, pronounce them on match!
A tiny game written in vue2
. It's inspired by IgorMinar's Memory-Game. You can view the online demo here.
If you are looking for
angular2
version, check it here
The online demo is implemented with extra rank system involved, you can check the source code at stage-1
branch.
We choose single-file-component
pattern as the fundamental of this game. In order to use this pattern, we involved webpack with vue-loader to make it possible.
Some mods made by Artie Scie for this fork:
- conv to an English alphabet pre-schooler game
- game logo field changed to "AlphaFlip"
- add logic to take a random subset of images on each play, since the set of alphabet letters exceeds the actual used subset (8 card pairs at one time, selected from 26 letters)
- along with each image, an MP3 file to play on match
- images from Classroom Clipart
- image magick used to resize images, etc, using scripts by Fred
- package.json script "npm start" now opens the browser (remove "--open" if you don't like it)
- draggable set to false for images
- Small testing effort on the fork: works on various browsers, on Linux, Windows, Android, Mac browsers tested.
OK EXCEPT FAILS ON: Windows IE 11 and earlier. I think it's support for transition/transform features of HTML5... But I think MS is not going to work very hard on non-security fixes to IE. Safari browsers worked after adding a mfr prefix: -webkit-backface-visibility that isn't handled by css-loader.
Game
, the whole game boardDashboard
, the panel on the top, including "logo", "progress", "best result"Logo
, on the left ofDashboard
, showing the game LogoMatchInfo
, on the center ofDashboard
, showing the current matching informationScore
, on the right ofDashboard
, showing the best resultChessboard
, on the center ofGame
, the playing areaCard
, each card in theChessboard
PlayStatus
, the footer part, displaying current status of game
vue-memory-game
├── css
│ └── main.css
├── img
│ ├── ...
│ └── zeppelin.png
├── js
│ ├── components
│ │ ├── card
│ │ │ ├── Card.vue
│ │ │ └── Chessboard.vue
│ │ ├── dashboard
│ │ │ ├── Dashboard.vue
│ │ │ ├── Logo.vue
│ │ │ ├── MatchInfo.vue
│ │ │ └── Score.vue
│ │ ├── footer
│ │ │ └── PlayStatus.vue
│ │ │
│ │ └── Game.vue
│ │
│ ├── vuex
│ │ ├── actions
│ │ │ └── index.js
│ │ ├── getters
│ │ │ └── index.js
│ │ ├── mutations
│ │ │ └── index.js
│ │ └── store
│ │ ├── index.js
│ │ └── statusEnum.js
│ │
│ └── index.js
│
├── index.html_vm
├── package.json
├── webpack.config.js
└── webpack.config.prod.js
#cloning code
git clone https://github.com/leftstick/vue-memory-game.git
cd vue-memory-game
#install dependencies
npm install
#start debug server
npm start
Now, view the demo at http://localhost:8080