breber / cardgames

Repository for continuation of CS309 Project
https://play.google.com/store/apps/details?id=com.worthwhilegames.cardgames
3 stars 1 forks source link

Resolve problems with AcceptThread #7

Closed breber closed 12 years ago

breber commented 12 years ago

Right now the ConnectActivity tells the thread listening for connections (AcceptThread) how many connections to allow. This prevents us from getting too many people connected, and causing mass confusion.

Ideally the AcceptThread should be able to know how many connections to accept based on the Game logic, and if someone disconnects while still on the connect screen, the AcceptThread currently doesn't restart its listening.

breber commented 12 years ago

Resolved with pull request