|
@@ -283,6 +283,12 @@ class Game(protocol.Protocol):
|
|
|
self.game = game
|
|
|
log.info("Game: {0}".format(self.game))
|
|
|
self.observer.emit("user-game", (self.factory.player.user, self.game))
|
|
|
+ elif "Select A or B to Play or Press [Q] To Exit!" in line:
|
|
|
+ game = line[-1]
|
|
|
+ if game >= "A" and game < "Q":
|
|
|
+ self.game = game
|
|
|
+ log.info("Game: {0}".format(self.game))
|
|
|
+ self.observer.emit("user-game", (self.factory.player.user, self.game))
|
|
|
elif "Confirmed? (Y/N)? Yes" in line:
|
|
|
# Ok, here's what we going to do.
|
|
|
# Set timer for 5 seconds. If we don't receive anything before that --
|