From f49fcdc38baaf0000b9f36cb4b5529fd17fafa04 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 29 Feb 2024 17:27:15 +0000 Subject: [PATCH 1/3] Empty commit to initialize branch From 3e5ffeef123570657d0379a64494fe92e3311687 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 29 Feb 2024 17:27:16 +0000 Subject: [PATCH 2/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 2f010795970b615b7e7c0a41006c1fa9dfece35b Mon Sep 17 00:00:00 2001 From: Ty Pi <161499656+Ty-Pi@users.noreply.github.com> Date: Thu, 29 Feb 2024 12:45:53 -0500 Subject: [PATCH 3/3] Update base.css Made body background color to black. --- base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base.css b/base.css index d51128e..fd8d393 100644 --- a/base.css +++ b/base.css @@ -106,7 +106,7 @@ section { display: block; } body { - /* Add background-color declaration here */ + background-color: black; } ol, ul {