Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Concentration, also known as Match Match, Match Up, Memory, Pelmanism, Shinkei-suijaku, Pexeso or simply Pairs

License

Notifications You must be signed in to change notification settings

AndreiSoroka/concentration-game

Repository files navigation

Demo

You can see demo: https://concentration-game.andreisoroka.com/

Repository: get start new project

https://github.com/AndreiSoroka/get-start-template-vue/

Test task description

Create a memory card game using Vue 2. The cards should be shuffled and placed face down. The player should be able to flip two cards at a time. If the cards match, they should be removed from the game. If they don't match, they should be flipped back. The game should end when all cards are removed. The timer should stop when the game ends. The game should be responsive and work on mobile devices. https://en.wikipedia.org/wiki/Concentration_(card_game)

Technologies to be used: Vue.js

My notices

Updates 2023: heroku is deprecated, OpenAI translated the game into English

Build production

npm i
npm run build

Static build in ./public/

Build development

Build and show errors (--display-error-details)

npm i
npm run build:dev

Build and watch

npm i
npm run build:watch

Dev server

It is build for dev + watch + server + hot reload

npm run server

Link: localhost:8060

You can change host and port in config/development.json

Test

npm run test

See: mochajs.org and chaijs.com

Includes all files by pattern ./application/**/*.test.js

Development

Project tree

(!) In this project connected bootstrap and normalize. If you want to remove that then need to remove modules in package.json and remove connected app.scss

Settings ESLint in .eslintrc. You can disable ESLint in webpack.config.js.

Deploy

Rename ./config/ftp.example.json to ./config/ftp.json

After then

npm run deploy

About

Concentration, also known as Match Match, Match Up, Memory, Pelmanism, Shinkei-suijaku, Pexeso or simply Pairs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published