From 929cbd32159dbfb7d9a47b2505d9ecf324db2d55 Mon Sep 17 00:00:00 2001 From: Himanshu Bhardwaj Date: Fri, 10 May 2024 20:53:50 +0530 Subject: [PATCH] Tekken dropped for now, renamed it to chalkBoard. --- index.html | 19 +++++++++---------- jsTekken/jsTekken.html | 2 +- jsTekken/jsTekken.js | 11 +++++++++-- static/jsTekken_favicon.svg | 2 +- 4 files changed, 20 insertions(+), 14 deletions(-) diff --git a/index.html b/index.html index 803bc43..a60921c 100644 --- a/index.html +++ b/index.html @@ -65,7 +65,16 @@

Space Invaders

+
+

ChalkBoard

+ + +

Travel Landing Page

@@ -108,16 +117,6 @@

Currency Convertor

* Broken or Needs Servicing
-
-

Tekken

- - - -

Chess

diff --git a/jsTekken/jsTekken.html b/jsTekken/jsTekken.html index 2f03f01..dad4376 100644 --- a/jsTekken/jsTekken.html +++ b/jsTekken/jsTekken.html @@ -11,7 +11,7 @@ href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet" /> - JS Tekken + JS ChalkBoard diff --git a/jsTekken/jsTekken.js b/jsTekken/jsTekken.js index c92d05f..3939d35 100644 --- a/jsTekken/jsTekken.js +++ b/jsTekken/jsTekken.js @@ -9,8 +9,13 @@ const context = canvas.getContext('2d'); context.font = '10px MonoSpace'; context.fillStyle = 'white'; -context.fillText('Delete this text, via moving players', 50, 50); - +const heading = context.fillText( + 'Delete this text, via moving players', + 50, + 50 +); +const enteredText = prompt('Enter something here?'); +const messageToBeDeleted = context.fillText(`${enteredText}`, 50, 70); // ---------------------------------------------------------------------------------- // -----------------------------SCREEN ON LOAD FUNCTIONS ---------------------------- @@ -240,3 +245,5 @@ const enemy = new Sprite({ y: 0, }, }); + +console.log('Only F12 pressers, know this is supposed to be Fighting Game.'); diff --git a/static/jsTekken_favicon.svg b/static/jsTekken_favicon.svg index 44072df..3e40c71 100644 --- a/static/jsTekken_favicon.svg +++ b/static/jsTekken_favicon.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file