Skip to content

Commit

Permalink
Merge pull request #3 from forkimenjeckayang/release-v1.0
Browse files Browse the repository at this point in the history
Release v1.0
  • Loading branch information
forkimenjeckayang authored Dec 19, 2023
2 parents 6f82c19 + a0ed1b1 commit 4a210fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions base.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ section {
}
body {
/* Add background-color declaration here */
background-color: black;
}
ol,
ul {
Expand Down
4 changes: 2 additions & 2 deletions engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion game.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 4a210fe

Please sign in to comment.