Created
January 3, 2012 21:30
-
-
Save jackdreilly/1557027 to your computer and use it in GitHub Desktop.
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
# Read username, output from non-empty factory, drop connections | |
from twisted.internet import protocol, reactor | |
from twisted.protocols import basic | |
from messaging import Message, message, MessageProtocol | |
class ContactGameProtocol(MessageProtocol): | |
@message('GIVE_CLUE') | |
def give_clue(self,clue): | |
return | |
@message('GUESS_CLUE') | |
def give_clue(self,clue): | |
return | |
@message('GIVE_WORD') | |
def give_clue(self,clue): | |
return | |
@message('GUESS_WORD') | |
def give_clue(self,clue): | |
return | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment