-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* the new class now accepts an options object at initialization. * the new class also has a second param in initialization which is a callback being called when it is playing against itself. * options argument provides a way to control how many winning piece is needed in a line. * the old gird size parameter is now replaced by the options argument, it provides a member where we can set the grid size of the board. * the new class can also now select which is the human player X or O, and it can even pick both player as a computer.
- Loading branch information
Showing
1 changed file
with
97 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters