2.0.4 • Published 8 months ago

game-page v2.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Angular Fruit Matching Game

The Angular Fruit Matching Game is a simple game component that can be easily integrated into any Angular project. It allows players to match fruit images by shuffling them, while avoiding bombs.

Installation

To install the Angular Fruit Matching Game component, use the following command:

npm install game-page


USAGE

1. Import the GamePageModule into your Angular module (e.g., app.module.ts):

#module.ts

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { GamePageModule } from 'game-page';

import { AppComponent } from './app.component';

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, GamePageModule],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {}


2. Use the below element in your template to display the game component:
#app-component.html

<app-game-page></app-game-page>

3. Run your Angular application using ng serve and access the game component in your browser.


Gameplay

Click the "Start" button to start the game and shuffle the fruit images.
If you match 3 identical fruit images, you win!
If you got the bomb image in atleast one, you lose.
If you don't match 3 identical fruit images, try again.


Note:

This is a simple game component designed for entertainment purposes. It's meant to demonstrate a basic example of a matching game in Angular.
2.0.3

8 months ago

2.0.2

8 months ago

2.0.4

8 months ago

2.0.1

8 months ago

1.2.5

8 months ago

1.2.4

8 months ago

1.2.3

8 months ago

1.2.2

8 months ago

0.0.1

8 months ago

1.2.1

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago