Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Added server communication and execution loop to listen()
Listen now takes a username, password and opponent option as arguments Edited makeMove() to accept an arraylist of moves, and make them. Needs review to be sure that it functions as intended, as well as make sure that it can move first as well. Easy as just taking out the null stipulations? Edited Player to allow for changing color of the player, since it's determined by the server. NOTE: I don't know if I got better or the AI got worse, but I can beat it pretty easily
- Loading branch information
Showing
3 changed files
with
113 additions
and
27 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
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
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
8151371
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!