mirror of
https://github.com/bendtherules/github-actions-for-ci.git
synced 2026-08-18 13:53:38 +00:00
add a Bananas name
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
export default class Game {
|
export default class Game {
|
||||||
constructor (p1, p2) {
|
constructor (p1, p2) {
|
||||||
this.p1 = p1
|
this.p1 = p1
|
||||||
this.p2 = p2
|
this.p2 = 'Bananas'
|
||||||
this.board = [[null, null, null], [null, null, null], [null, null, null]]
|
this.board = [[null, null, null], [null, null, null], [null, null, null]]
|
||||||
this.player = Math.random() < 0.5 ? this.p1 : this.p2
|
this.player = Math.random() < 0.5 ? this.p1 : this.p2
|
||||||
this.sym = 'X'
|
this.sym = 'X'
|
||||||
|
|||||||
Reference in New Issue
Block a user