From 816ce81e6c612d9dd5bfcd42671aba57df0d64ac Mon Sep 17 00:00:00 2001
From: bugtamer <35902230+bugtamer@users.noreply.github.com>
Date: Mon, 27 Jul 2020 23:29:00 +0200
Subject: [PATCH] add password-board component
initial implementation
update project version
---
package-lock.json | 2 +-
package.json | 2 +-
src/app/app.module.ts | 4 +-
.../megaman2/megaman2.component.html | 3 +-
.../password-board.component.css | 11 +++++
.../password-board.component.html | 18 ++++++++
.../password-board.component.spec.ts | 25 +++++++++++
.../password-board.component.ts | 43 +++++++++++++++++++
8 files changed, 104 insertions(+), 4 deletions(-)
create mode 100644 src/app/components/password-board/password-board.component.css
create mode 100644 src/app/components/password-board/password-board.component.html
create mode 100644 src/app/components/password-board/password-board.component.spec.ts
create mode 100644 src/app/components/password-board/password-board.component.ts
diff --git a/package-lock.json b/package-lock.json
index 9adce6c..912f416 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "megaman2",
- "version": "0.1.0",
+ "version": "0.2.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 72bfbd6..b906c05 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "megaman2",
- "version": "0.1.0",
+ "version": "0.2.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 623b8ab..4bde3fe 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -3,11 +3,13 @@ import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { Megaman2Component } from './components/megaman2/megaman2.component';
+import { PasswordBoardComponent } from './components/password-board/password-board.component';
@NgModule({
declarations: [
AppComponent,
- Megaman2Component
+ Megaman2Component,
+ PasswordBoardComponent
],
imports: [
BrowserModule
diff --git a/src/app/components/megaman2/megaman2.component.html b/src/app/components/megaman2/megaman2.component.html
index fa670a7..16ad1a8 100644
--- a/src/app/components/megaman2/megaman2.component.html
+++ b/src/app/components/megaman2/megaman2.component.html
@@ -1,9 +1,10 @@
+
{{ passwordCoordinates }}-
E-tanks: {{ password.currentEtanks }}
+{{ password.currentEtanks }} E-tanks
+ | 1 | +2 | +3 | +4 | +5 | +
---|---|---|---|---|---|
{{ row[0] }} | +{{ row[1] }} | +{{ row[2] }} | +{{ row[3] }} | +{{ row[4] }} | +{{ row[5] }} | +