diff --git a/app/src/shared/game.ts b/app/src/shared/game.ts index 930ca82..49a1b3b 100644 --- a/app/src/shared/game.ts +++ b/app/src/shared/game.ts @@ -10,7 +10,7 @@ export class GameContext { this.ctx.clearRect(0, 0, this.ctx.canvas.width, this.ctx.canvas.height) } - text(msg: string, x: number, y: number, color = "black", size = 16, font = "monospace") { + text(msg: string, x: number, y: number, color = "black", size = 16, font = "C64ProMono") { const c = this.ctx c.save() c.fillStyle = color @@ -20,7 +20,7 @@ export class GameContext { c.restore() } - centerText(msg: string, y: number, color = "black", size = 16, font = "monospace") { + centerText(msg: string, y: number, color = "black", size = 16, font = "C64ProMono") { const c = this.ctx c.save() c.fillStyle = color