Skip to content

Commit

Permalink
add a Bananas name
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorsector committed Sep 24, 2019
1 parent fdae0a7 commit ab19c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.js
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit ab19c6f

Please sign in to comment.