From 439372a5962e99c04d400da5c63fca4ee93ecb9c Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 19 Dec 2023 07:07:35 +0000 Subject: [PATCH 1/3] Changed game text colors to green --- engine.js | 4 ++-- game.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engine.js b/engine.js index 8c59877..113e89b 100644 --- a/engine.js +++ b/engine.js @@ -190,7 +190,7 @@ var TitleScreen = function TitleScreen(title, subtitle, callback) { }; this.draw = function (ctx) { - ctx.fillStyle = "#FFFFFF"; + ctx.fillStyle = "#00FF00"; ctx.font = "bold 40px bangers"; var measure = ctx.measureText(title); @@ -480,7 +480,7 @@ var GamePoints = function () { this.draw = function (ctx) { ctx.save(); ctx.font = "bold 18px arial"; - ctx.fillStyle = "#FFFFFF"; + ctx.fillStyle = "#00FF00"; var txt = "" + Game.points; var i = pointsLength - txt.length, diff --git a/game.js b/game.js index 4c059ee..6c2becd 100644 --- a/game.js +++ b/game.js @@ -125,7 +125,7 @@ var Starfield = function (speed, opacity, numStars, clear) { // If the clear option is set, // make the background black instead of transparent if (clear) { - starCtx.fillStyle = "#000"; + starCtx.fillStyle = "#0F0"; starCtx.fillRect(0, 0, stars.width, stars.height); } From ea051a2cd3fbacc2eb0871ad43567e1d2a15aff0 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 19 Dec 2023 07:07:35 +0000 Subject: [PATCH 2/3] Empty commit to initialize branch From 0defa67a0a9ed531bee333faa2c20e3eeda9f2c9 Mon Sep 17 00:00:00 2001 From: forkimenjeckayang Date: Tue, 19 Dec 2023 09:21:55 +0100 Subject: [PATCH 3/3] Update(base.css): chnaged background color of the body --- base.css | 1 + 1 file changed, 1 insertion(+) diff --git a/base.css b/base.css index d51128e..28158ff 100644 --- a/base.css +++ b/base.css @@ -107,6 +107,7 @@ section { } body { /* Add background-color declaration here */ + background-color: black; } ol, ul {