Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am brandontle on github.
  • I am brandontle (https://keybase.io/brandontle) on keybase.
  • I have a public key ASDzoOBsVez-GKAiiWQ7WUCwIkz2AlfYOjceWCWwvHdg4wo

To claim this, I am signing this object:

//tic-tac-toe game for play within console
//with two humans
//---
//game class with logic
class TicTacToe {
constructor() {
this.board = this.makeBoard();
this.currentPlayer = 1;
this.winner = null;