Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player move #4

Open
Liczi opened this issue May 22, 2017 · 0 comments
Open

Player move #4

Liczi opened this issue May 22, 2017 · 0 comments
Labels

Comments

@Liczi
Copy link
Owner

Liczi commented May 22, 2017

implement Player (Human) as Thread.

  • when move is called it signals the web module to prompt for move
  • then sleep loop is entered
  • when player sends the move response, the thread leaves sleep loop
  • it calls methods from Board to make move
  • then it waits for its turn in sleep thread
@Liczi Liczi added the game label May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant