diff --git a/css/app.css b/css/app.css index 57a084e..2efb18f 100644 --- a/css/app.css +++ b/css/app.css @@ -39,7 +39,7 @@ body { color: white; } -.pull * { +* { user-select: none; } diff --git a/index.html b/index.html index d8ff835..bc7f1c2 100644 --- a/index.html +++ b/index.html @@ -12,8 +12,11 @@
-
+
Score: {{ score }}
+ Fishies caught: {{ fishiesCaught.length }} +
+
diff --git a/js/app.js b/js/app.js index 3a5998d..7f47c4f 100644 --- a/js/app.js +++ b/js/app.js @@ -122,14 +122,14 @@ const FishApp = { window.clearInterval(this.intervals.fishMovementIntervalID); this.score += this.fishy.points; - this.fishyCaught.push(this.fishy); + this.fishiesCaught.push(this.fishy); this.fishy = null; this.pull = false; iziToast.success({ title: 'fischi ist jetzt dein freund', - position: 'topCenter' + position: 'bottomCenter' }); }, fishyFled() { @@ -140,7 +140,7 @@ const FishApp = { iziToast.warning({ title: 'fischi fort!', - position: 'topCenter' + position: 'bottomCenter' }); } }