From ab19c6fd71bfbfc9320fe43adbcd2bc75eb32db5 Mon Sep 17 00:00:00 2001 From: Hector Alfaro Date: Tue, 24 Sep 2019 05:59:57 -0400 Subject: [PATCH] add a Bananas name --- src/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.js b/src/game.js index a30a0fa..ef4df8b 100644 --- a/src/game.js +++ b/src/game.js @@ -1,7 +1,7 @@ export default class Game { constructor (p1, p2) { this.p1 = p1 - this.p2 = p2 + this.p2 = 'Bananas' this.board = [[null, null, null], [null, null, null], [null, null, null]] this.player = Math.random() < 0.5 ? this.p1 : this.p2 this.sym = 'X'