From 3bfe81828895c7270d44753feb32dd190a090265 Mon Sep 17 00:00:00 2001 From: Om Kiran Kar <91785464+OmKiranKar@users.noreply.github.com> Date: Thu, 25 Nov 2021 02:52:54 +0530 Subject: [PATCH 1/4] Update game.js --- 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' From 00ef7083918de7ffde3d597d873a08044e5a1d92 Mon Sep 17 00:00:00 2001 From: Om Kiran Kar <91785464+OmKiranKar@users.noreply.github.com> Date: Thu, 25 Nov 2021 02:54:38 +0530 Subject: [PATCH 2/4] Update game.js --- src/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.js b/src/game.js index ef4df8b..a30a0fa 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 = 'Bananas' + this.p2 = p2 this.board = [[null, null, null], [null, null, null], [null, null, null]] this.player = Math.random() < 0.5 ? this.p1 : this.p2 this.sym = 'X' From a5007c910cdf61fac55568419e28416c866732cb Mon Sep 17 00:00:00 2001 From: Om Kiran Kar <91785464+OmKiranKar@users.noreply.github.com> Date: Thu, 25 Nov 2021 03:06:45 +0530 Subject: [PATCH 3/4] Update game.js --- 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' From 1316ae7afe1b170eece4b98d7dbd9335ca651402 Mon Sep 17 00:00:00 2001 From: Om Kiran Kar <91785464+OmKiranKar@users.noreply.github.com> Date: Thu, 25 Nov 2021 03:07:50 +0530 Subject: [PATCH 4/4] Update game.js --- src/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.js b/src/game.js index ef4df8b..a30a0fa 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 = 'Bananas' + this.p2 = p2 this.board = [[null, null, null], [null, null, null], [null, null, null]] this.player = Math.random() < 0.5 ? this.p1 : this.p2 this.sym = 'X'