A number of cards are placed face down in a grid in a random order. The cards have images on their face and the cards are in pairs, with each pair having the same image.
Each turn the player turns over two cards. If they are a matching pair they remain face up. If they don’t match they are turned face down again.
The game finishes when all the pairs have been removed.
See: here
This project was generated with Angular CLI version 9.1.6.
Some of the app's features:
- Use of state management pattern - NgRx
- Angular Material components
- Container/Presentational components
- CSS Grid
- Flex Layout
Install the latest version of Node from here.
Run npm install -g @angular/cli to install/update the latest version of Angular CLI.
Once downloaded the codebase, run npm install to install all the dependencies and node modules.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Run ng test to execute the unit tests via Karma.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.